scroll_view_item.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@color/white"
  9. android:orientation="vertical"
  10. android:paddingLeft="15dp"
  11. android:paddingRight="15dp"
  12. android:paddingBottom="6dp">
  13. <TextView
  14. android:layout_marginTop="10dp"
  15. android:layout_width="match_parent"
  16. android:layout_height="35dp"
  17. android:gravity="center_vertical"
  18. android:text="实验室"
  19. android:textColor="@color/black" />
  20. <RelativeLayout
  21. android:id="@+id/rel_view"
  22. android:layout_width="match_parent"
  23. android:layout_height="35dp"
  24. android:background="@drawable/ic_bgm_edit_user">
  25. <ImageView
  26. android:id="@+id/img_view"
  27. android:layout_width="18dp"
  28. android:layout_height="18dp"
  29. android:layout_centerVertical="true"
  30. android:layout_marginLeft="6dp"
  31. android:visibility="gone"
  32. android:background="@mipmap/icon_sou_suo" />
  33. <TextView
  34. android:id="@+id/ed_subject_name"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:layout_marginLeft="4dp"
  38. android:layout_marginRight="30dp"
  39. android:layout_toRightOf="@+id/img_view"
  40. android:background="@null"
  41. android:gravity="start"
  42. android:hint="搜索实验室或房间号"
  43. android:textColorHint="@color/black"
  44. android:padding="7dp"
  45. android:textSize="14sp" />
  46. <ImageView
  47. android:id="@+id/img_scan"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_alignParentRight="true"
  51. android:layout_centerVertical="true"
  52. android:background="@mipmap/icon_kzjc_sys" />
  53. </RelativeLayout>
  54. <TextView
  55. android:layout_width="match_parent"
  56. android:layout_height="35dp"
  57. android:gravity="center_vertical"
  58. android:text="学院"
  59. android:textColor="@color/black" />
  60. <RelativeLayout
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content">
  63. <TextView
  64. android:id="@+id/tv_college_name"
  65. android:layout_width="match_parent"
  66. android:layout_height="35dp"
  67. android:hint="请选择实验室"
  68. android:textColorHint="@color/black"
  69. android:paddingLeft="12dp"
  70. android:background="@drawable/ic_bgm_item_bm"
  71. android:gravity="center_vertical" />
  72. <Spinner
  73. android:id="@+id/sp_college_name"
  74. android:layout_width="match_parent"
  75. android:padding="5dp"
  76. android:visibility="gone"
  77. android:layout_height="35dp"
  78. android:background="@drawable/ic_bgm_edit_user"
  79. android:gravity="center_vertical" />
  80. <ImageView
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_alignParentRight="true"
  84. android:layout_centerVertical="true"
  85. android:visibility="gone"
  86. android:layout_marginRight="10dp"
  87. android:background="@mipmap/icon_kzjc_zk" />
  88. </RelativeLayout>
  89. <TextView
  90. android:layout_width="wrap_content"
  91. android:layout_height="35dp"
  92. android:gravity="center_vertical"
  93. android:text="楼栋"
  94. android:textColor="@color/black" />
  95. <RelativeLayout
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content">
  98. <TextView
  99. android:id="@+id/tv_build_name"
  100. android:layout_width="match_parent"
  101. android:layout_height="35dp"
  102. android:hint="请选择实验室"
  103. android:paddingLeft="12dp"
  104. android:textColorHint="@color/black"
  105. android:background="@drawable/ic_bgm_item_bm"
  106. android:gravity="center_vertical" />
  107. <Spinner
  108. android:id="@+id/sp_build_name"
  109. android:layout_width="match_parent"
  110. android:layout_height="35dp"
  111. android:background="@drawable/ic_bgm_edit_user"
  112. android:clickable="false"
  113. android:padding="5dp"
  114. android:visibility="gone"
  115. android:gravity="center_vertical"
  116. android:paddingLeft="6dp"
  117. android:textColor="@color/black" />
  118. <ImageView
  119. android:layout_width="wrap_content"
  120. android:layout_height="wrap_content"
  121. android:layout_alignParentRight="true"
  122. android:layout_centerVertical="true"
  123. android:layout_marginRight="10dp"
  124. android:visibility="gone"
  125. android:background="@mipmap/icon_kzjc_zk" />
  126. </RelativeLayout>
  127. <TextView
  128. android:layout_width="wrap_content"
  129. android:layout_height="35dp"
  130. android:gravity="center_vertical"
  131. android:text="计划标题"
  132. android:textColor="@color/black" />
  133. <RelativeLayout
  134. android:id="@+id/rel_plan_title"
  135. android:layout_width="match_parent"
  136. android:layout_height="wrap_content">
  137. <Spinner
  138. android:id="@+id/sp_title"
  139. android:layout_width="match_parent"
  140. android:layout_height="35dp"
  141. android:background="@drawable/ic_bgm_edit_user"
  142. android:gravity="center_vertical"
  143. android:paddingLeft="6dp"
  144. android:spinnerMode="dropdown"
  145. android:text="2023年3月份校级督导检查"
  146. android:textColor="@color/black" />
  147. <ImageView
  148. android:layout_width="wrap_content"
  149. android:layout_height="wrap_content"
  150. android:layout_alignParentRight="true"
  151. android:layout_centerVertical="true"
  152. android:layout_marginRight="10dp"
  153. android:background="@mipmap/icon_kzjc_zk" />
  154. </RelativeLayout>
  155. <EditText
  156. android:id="@+id/ed_input_title"
  157. android:layout_width="match_parent"
  158. android:layout_height="45dp"
  159. android:visibility="gone"
  160. android:layout_marginTop="6dp"
  161. android:layout_toRightOf="@+id/img_view"
  162. android:background="@drawable/ic_bgm_item_bm"
  163. android:gravity="start"
  164. android:hint="请输入计划标题"
  165. android:padding="4dp"
  166. android:paddingLeft="5dp"
  167. android:textSize="14sp"
  168. android:maxLength="15" />
  169. <TextView
  170. android:id="@+id/tv_custom"
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:layout_gravity="right"
  174. android:layout_marginTop="4dp"
  175. android:layout_marginBottom="4dp"
  176. android:background="@drawable/ic_bgm_to_be_checked"
  177. android:gravity="center"
  178. android:padding="10dp"
  179. android:text="自定义输入"
  180. android:textColor="@color/purple_fa" />
  181. <TextView
  182. android:layout_width="wrap_content"
  183. android:layout_height="35dp"
  184. android:gravity="center_vertical"
  185. android:text="检查类型"
  186. android:textColor="@color/black" />
  187. <RelativeLayout
  188. android:layout_width="match_parent"
  189. android:layout_height="wrap_content">
  190. <TextView
  191. android:id="@+id/tv_inspect"
  192. android:layout_width="match_parent"
  193. android:layout_height="35dp"
  194. android:background="@drawable/ic_bgm_item_bm"
  195. android:entries="@array/spTypes"
  196. android:gravity="center_vertical"
  197. android:paddingLeft="6dp"
  198. android:textColor="@color/black"
  199. android:visibility="gone" />
  200. <Spinner
  201. android:id="@+id/sp_inspect"
  202. android:layout_width="match_parent"
  203. android:layout_height="35dp"
  204. android:background="@drawable/ic_bgm_edit_user"
  205. android:entries="@array/spTypes"
  206. android:gravity="center_vertical"
  207. android:paddingLeft="5dp"
  208. android:textColor="@color/black" />
  209. <ImageView
  210. android:layout_width="wrap_content"
  211. android:layout_height="wrap_content"
  212. android:layout_alignParentRight="true"
  213. android:layout_centerVertical="true"
  214. android:layout_marginRight="10dp"
  215. android:background="@mipmap/icon_kzjc_zk" />
  216. </RelativeLayout>
  217. <TextView
  218. android:layout_width="wrap_content"
  219. android:layout_height="35dp"
  220. android:gravity="center_vertical"
  221. android:text="检查组织"
  222. android:textColor="@color/black" />
  223. <RelativeLayout
  224. android:layout_width="match_parent"
  225. android:layout_height="wrap_content">
  226. <TextView
  227. android:id="@+id/tv_check"
  228. android:layout_width="match_parent"
  229. android:layout_height="35dp"
  230. android:background="@drawable/ic_bgm_item_bm"
  231. android:entries="@array/spOrganization"
  232. android:gravity="center_vertical"
  233. android:paddingLeft="6dp"
  234. android:text="实验室自查"
  235. android:textColor="@color/black" />
  236. <Spinner
  237. android:id="@+id/sp_check"
  238. android:layout_width="match_parent"
  239. android:layout_height="35dp"
  240. android:background="@drawable/ic_bgm_edit_user"
  241. android:entries="@array/spOrganization"
  242. android:gravity="center_vertical"
  243. android:paddingLeft="6dp"
  244. android:textColor="@color/black"
  245. android:visibility="gone" />
  246. <ImageView
  247. android:layout_width="wrap_content"
  248. android:layout_height="wrap_content"
  249. android:layout_alignParentRight="true"
  250. android:layout_centerVertical="true"
  251. android:layout_marginRight="10dp"
  252. android:background="@mipmap/icon_kzjc_zk" />
  253. </RelativeLayout>
  254. <TextView
  255. android:layout_width="wrap_content"
  256. android:layout_height="35dp"
  257. android:gravity="center_vertical"
  258. android:text="计划周期"
  259. android:textColor="@color/black" />
  260. <RelativeLayout
  261. android:layout_width="match_parent"
  262. android:layout_height="45dp"
  263. android:background="@drawable/ic_bgm_02">
  264. <TextView
  265. android:id="@+id/tv_start_time"
  266. android:layout_width="wrap_content"
  267. android:layout_height="wrap_content"
  268. android:layout_centerVertical="true"
  269. android:layout_marginLeft="8dp"
  270. android:padding="10dp"
  271. android:text="开始时间" />
  272. <TextView
  273. android:layout_width="wrap_content"
  274. android:layout_height="wrap_content"
  275. android:layout_centerHorizontal="true"
  276. android:layout_centerVertical="true"
  277. android:text="至"
  278. android:textColor="@color/black" />
  279. <TextView
  280. android:id="@+id/tv_end_time"
  281. android:layout_width="wrap_content"
  282. android:layout_height="wrap_content"
  283. android:layout_alignParentRight="true"
  284. android:layout_centerVertical="true"
  285. android:layout_marginRight="8dp"
  286. android:padding="10dp"
  287. android:text="结束时间" />
  288. </RelativeLayout>
  289. <RelativeLayout
  290. android:id="@+id/rela_view"
  291. android:layout_width="match_parent"
  292. android:layout_height="45dp"
  293. android:background="@color/white"
  294. android:gravity="center_vertical"
  295. android:paddingTop="10dp"
  296. android:paddingBottom="10dp">
  297. <TextView
  298. android:id="@+id/tv_01"
  299. android:layout_width="wrap_content"
  300. android:layout_height="match_parent"
  301. android:gravity="center_vertical"
  302. android:text="检查结果"
  303. android:textColor="@color/black" />
  304. <Spinner
  305. android:id="@+id/spinner_view"
  306. android:layout_width="match_parent"
  307. android:layout_height="match_parent"
  308. android:layout_centerVertical="true"
  309. android:layout_marginLeft="85dp"
  310. android:layout_toRightOf="@+id/tv_01"
  311. android:background="@drawable/ic_bgm_edit_user"
  312. android:entries="@array/spinnerClassTwo"
  313. android:gravity="center_vertical" />
  314. <ImageView
  315. android:layout_width="wrap_content"
  316. android:layout_height="wrap_content"
  317. android:layout_alignParentRight="true"
  318. android:layout_centerVertical="true"
  319. android:layout_marginRight="10dp"
  320. android:background="@mipmap/icon_kzjc_zk" />
  321. </RelativeLayout>
  322. <LinearLayout
  323. android:id="@+id/lin_off"
  324. android:layout_width="match_parent"
  325. android:layout_height="wrap_content"
  326. android:orientation="vertical"
  327. android:paddingBottom="20dp">
  328. <TextView
  329. android:layout_width="wrap_content"
  330. android:layout_height="30dp"
  331. android:gravity="center_vertical"
  332. android:text="整改期限"
  333. android:textColor="@color/black" />
  334. <RelativeLayout
  335. android:layout_width="match_parent"
  336. android:layout_height="wrap_content">
  337. <TextView
  338. android:id="@+id/tv_time_view"
  339. android:layout_width="match_parent"
  340. android:layout_height="35dp"
  341. android:background="@drawable/ic_bgm_02"
  342. android:gravity="center_vertical"
  343. android:padding="5dp"
  344. android:text="请选择日期" />
  345. <ImageView
  346. android:layout_width="wrap_content"
  347. android:layout_height="wrap_content"
  348. android:layout_alignParentRight="true"
  349. android:layout_centerVertical="true"
  350. android:layout_marginRight="5dp"
  351. android:background="@mipmap/icon_jcz_rq" />
  352. </RelativeLayout>
  353. <RelativeLayout
  354. android:layout_width="match_parent"
  355. android:layout_height="35dp">
  356. <TextView
  357. android:layout_width="wrap_content"
  358. android:layout_height="wrap_content"
  359. android:layout_centerVertical="true"
  360. android:text="整改通知"
  361. android:textColor="@color/black" />
  362. <RadioButton
  363. android:id="@+id/radio_inform"
  364. android:layout_width="wrap_content"
  365. android:layout_height="wrap_content"
  366. android:layout_centerHorizontal="true"
  367. android:checked="true"
  368. android:text="整改告知书" />
  369. <RadioButton
  370. android:id="@+id/radio_notice"
  371. android:layout_width="wrap_content"
  372. android:layout_height="wrap_content"
  373. android:layout_alignParentRight="true"
  374. android:text="整改通知书" />
  375. </RelativeLayout>
  376. </LinearLayout>
  377. </LinearLayout>
  378. </RelativeLayout>