include_cabinet.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_weight="1"
  7. android:gravity="center"
  8. android:paddingHorizontal="20px"
  9. tools:ignore="PxUsage">
  10. <ProgressBar
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_centerInParent="true" />
  14. <RelativeLayout
  15. android:id="@+id/cabinet_RL"
  16. android:layout_width="610px"
  17. android:layout_height="650px"
  18. android:layout_centerInParent="true"
  19. android:background="@mipmap/locker">
  20. <RelativeLayout
  21. android:layout_width="372px"
  22. android:layout_height="484px"
  23. android:layout_centerHorizontal="true"
  24. android:layout_marginTop="108px"
  25. android:orientation="vertical">
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="match_parent"
  29. android:orientation="vertical">
  30. <RadioGroup
  31. android:id="@+id/locker_up_drawer_RG"
  32. android:layout_width="match_parent"
  33. android:layout_height="match_parent"
  34. android:layout_weight="1"
  35. android:orientation="vertical">
  36. <RadioButton
  37. android:id="@+id/locker_up_drawer_1_RB"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:layout_weight="1"
  41. android:background="@drawable/selector_locker_drawer"
  42. android:button="@null"
  43. android:visibility="gone" />
  44. <RadioButton
  45. android:id="@+id/locker_up_drawer_2_RB"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:layout_weight="1"
  49. android:background="@drawable/selector_locker_drawer"
  50. android:button="@null"
  51. android:visibility="gone" />
  52. <RadioButton
  53. android:id="@+id/locker_up_drawer_3_RB"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_weight="1"
  57. android:background="@drawable/selector_locker_drawer"
  58. android:button="@null"
  59. android:visibility="gone" />
  60. <RadioButton
  61. android:id="@+id/locker_up_drawer_4_RB"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:layout_weight="1"
  65. android:background="@drawable/selector_locker_drawer"
  66. android:button="@null"
  67. android:visibility="gone" />
  68. <RadioButton
  69. android:id="@+id/locker_up_drawer_5_RB"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_weight="1"
  73. android:background="@drawable/selector_locker_drawer"
  74. android:button="@null"
  75. android:visibility="gone" />
  76. <RadioButton
  77. android:id="@+id/locker_up_drawer_6_RB"
  78. android:layout_width="match_parent"
  79. android:layout_height="wrap_content"
  80. android:layout_weight="1"
  81. android:background="@drawable/selector_locker_drawer"
  82. android:button="@null"
  83. android:visibility="gone" />
  84. <RadioButton
  85. android:id="@+id/locker_up_drawer_7_RB"
  86. android:layout_width="match_parent"
  87. android:layout_height="wrap_content"
  88. android:layout_weight="1"
  89. android:background="@drawable/selector_locker_drawer"
  90. android:button="@null"
  91. android:visibility="gone" />
  92. <RadioButton
  93. android:id="@+id/locker_up_drawer_8_RB"
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:layout_weight="1"
  97. android:background="@drawable/selector_locker_drawer"
  98. android:button="@null"
  99. android:visibility="gone" />
  100. </RadioGroup>
  101. <RadioGroup
  102. android:id="@+id/locker_down_drawer_RG"
  103. android:layout_width="match_parent"
  104. android:layout_height="match_parent"
  105. android:layout_weight="1"
  106. android:orientation="vertical"
  107. android:visibility="gone">
  108. <RadioButton
  109. android:id="@+id/locker_down_drawer_1_RB"
  110. android:layout_width="match_parent"
  111. android:layout_height="wrap_content"
  112. android:layout_weight="1"
  113. android:background="@drawable/selector_locker_drawer"
  114. android:button="@null"
  115. android:visibility="gone" />
  116. <RadioButton
  117. android:id="@+id/locker_down_drawer_2_RB"
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:layout_weight="1"
  121. android:background="@drawable/selector_locker_drawer"
  122. android:button="@null"
  123. android:visibility="gone" />
  124. <RadioButton
  125. android:id="@+id/locker_down_drawer_3_RB"
  126. android:layout_width="match_parent"
  127. android:layout_height="wrap_content"
  128. android:layout_weight="1"
  129. android:background="@drawable/selector_locker_drawer"
  130. android:button="@null"
  131. android:visibility="gone" />
  132. <RadioButton
  133. android:id="@+id/locker_down_drawer_4_RB"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_weight="1"
  137. android:background="@drawable/selector_locker_drawer"
  138. android:button="@null"
  139. android:visibility="gone" />
  140. </RadioGroup>
  141. </LinearLayout>
  142. <LinearLayout
  143. android:layout_width="match_parent"
  144. android:layout_height="match_parent"
  145. android:orientation="vertical">
  146. <LinearLayout
  147. android:id="@+id/locker_up_drawer_LL"
  148. android:layout_width="match_parent"
  149. android:layout_height="match_parent"
  150. android:layout_weight="1"
  151. android:orientation="vertical">
  152. <TextView
  153. android:id="@+id/locker_up_drawer_1_TV"
  154. android:layout_width="match_parent"
  155. android:layout_height="match_parent"
  156. android:layout_marginStart="20px"
  157. android:layout_marginBottom="10px"
  158. android:layout_weight="1"
  159. android:gravity="bottom"
  160. android:text="① 层"
  161. android:textColor="@color/white"
  162. android:visibility="gone" />
  163. <TextView
  164. android:id="@+id/locker_up_drawer_2_TV"
  165. android:layout_width="match_parent"
  166. android:layout_height="match_parent"
  167. android:layout_marginStart="20px"
  168. android:layout_marginBottom="10px"
  169. android:layout_weight="1"
  170. android:gravity="bottom"
  171. android:text="② 层"
  172. android:textColor="@color/white"
  173. android:visibility="gone" />
  174. <TextView
  175. android:id="@+id/locker_up_drawer_3_TV"
  176. android:layout_width="match_parent"
  177. android:layout_height="match_parent"
  178. android:layout_marginStart="20px"
  179. android:layout_marginBottom="10px"
  180. android:layout_weight="1"
  181. android:gravity="bottom"
  182. android:text="③ 层"
  183. android:textColor="@color/white"
  184. android:visibility="gone" />
  185. <TextView
  186. android:id="@+id/locker_up_drawer_4_TV"
  187. android:layout_width="match_parent"
  188. android:layout_height="match_parent"
  189. android:layout_marginStart="20px"
  190. android:layout_marginBottom="10px"
  191. android:layout_weight="1"
  192. android:gravity="bottom"
  193. android:text="④ 层"
  194. android:textColor="@color/white"
  195. android:visibility="gone" />
  196. <TextView
  197. android:id="@+id/locker_up_drawer_5_TV"
  198. android:layout_width="match_parent"
  199. android:layout_height="match_parent"
  200. android:layout_marginStart="20px"
  201. android:layout_marginBottom="10px"
  202. android:layout_weight="1"
  203. android:gravity="bottom"
  204. android:text="⑤ 层"
  205. android:textColor="@color/white"
  206. android:visibility="gone" />
  207. <TextView
  208. android:id="@+id/locker_up_drawer_6_TV"
  209. android:layout_width="match_parent"
  210. android:layout_height="match_parent"
  211. android:layout_marginStart="20px"
  212. android:layout_marginBottom="10px"
  213. android:layout_weight="1"
  214. android:gravity="bottom"
  215. android:text="⑥ 层"
  216. android:textColor="@color/white"
  217. android:visibility="gone" />
  218. <TextView
  219. android:id="@+id/locker_up_drawer_7_TV"
  220. android:layout_width="match_parent"
  221. android:layout_height="match_parent"
  222. android:layout_marginStart="20px"
  223. android:layout_marginBottom="10px"
  224. android:layout_weight="1"
  225. android:gravity="bottom"
  226. android:text="⑦ 层"
  227. android:textColor="@color/white"
  228. android:visibility="gone" />
  229. <TextView
  230. android:id="@+id/locker_up_drawer_8_TV"
  231. android:layout_width="match_parent"
  232. android:layout_height="match_parent"
  233. android:layout_marginStart="20px"
  234. android:layout_marginBottom="10px"
  235. android:layout_weight="1"
  236. android:gravity="bottom"
  237. android:text="⑧ 层"
  238. android:textColor="@color/white"
  239. android:visibility="gone" />
  240. </LinearLayout>
  241. <LinearLayout
  242. android:id="@+id/locker_down_drawer_LL"
  243. android:layout_width="match_parent"
  244. android:layout_height="match_parent"
  245. android:layout_weight="1"
  246. android:orientation="vertical"
  247. android:visibility="gone">
  248. <TextView
  249. android:id="@+id/locker_down_drawer_1_TV"
  250. android:layout_width="match_parent"
  251. android:layout_height="match_parent"
  252. android:layout_marginStart="20px"
  253. android:layout_marginBottom="10px"
  254. android:layout_weight="1"
  255. android:gravity="bottom"
  256. android:text="① 层"
  257. android:textColor="@color/white"
  258. android:visibility="gone" />
  259. <TextView
  260. android:id="@+id/locker_down_drawer_2_TV"
  261. android:layout_width="match_parent"
  262. android:layout_height="match_parent"
  263. android:layout_marginStart="20px"
  264. android:layout_marginBottom="10px"
  265. android:layout_weight="1"
  266. android:gravity="bottom"
  267. android:text="② 层"
  268. android:textColor="@color/white"
  269. android:visibility="gone" />
  270. <TextView
  271. android:id="@+id/locker_down_drawer_3_TV"
  272. android:layout_width="match_parent"
  273. android:layout_height="match_parent"
  274. android:layout_marginStart="20px"
  275. android:layout_marginBottom="10px"
  276. android:layout_weight="1"
  277. android:gravity="bottom"
  278. android:text="③ 层"
  279. android:textColor="@color/white"
  280. android:visibility="gone" />
  281. <TextView
  282. android:id="@+id/locker_down_drawer_4_TV"
  283. android:layout_width="match_parent"
  284. android:layout_height="match_parent"
  285. android:layout_marginStart="20px"
  286. android:layout_marginBottom="10px"
  287. android:layout_weight="1"
  288. android:gravity="bottom"
  289. android:text="④ 层"
  290. android:textColor="@color/white"
  291. android:visibility="gone" />
  292. </LinearLayout>
  293. </LinearLayout>
  294. </RelativeLayout>
  295. <TextView
  296. android:id="@+id/up_door_name_TV"
  297. android:layout_width="60px"
  298. android:layout_height="wrap_content"
  299. android:layout_marginStart="33px"
  300. android:layout_marginTop="168px"
  301. android:maxLines="4"
  302. android:textColor="@color/white" />
  303. <TextView
  304. android:id="@+id/down_door_name_TV"
  305. android:layout_width="60px"
  306. android:layout_height="wrap_content"
  307. android:layout_marginStart="33px"
  308. android:layout_marginTop="410px"
  309. android:maxLines="4"
  310. android:textColor="@color/white" />
  311. <TextView
  312. android:id="@+id/locker_name_TV"
  313. android:layout_width="wrap_content"
  314. android:layout_height="wrap_content"
  315. android:layout_marginStart="120px"
  316. android:layout_marginTop="30px"
  317. android:drawableStart="@drawable/locker_name_round"
  318. android:drawablePadding="15px"
  319. android:gravity="center_vertical"
  320. android:textColor="@color/white"
  321. android:textSize="16sp" />
  322. </RelativeLayout>
  323. </RelativeLayout>