activity_add.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/main"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@mipmap/icon_add_bg"
  9. tools:context=".ui.plan.add.AddActivity"
  10. tools:ignore="PxUsage">
  11. <RelativeLayout
  12. android:id="@+id/rel1"
  13. android:layout_width="match_parent"
  14. android:layout_height="45dp"
  15. android:layout_marginTop="10dp">
  16. <ImageView
  17. android:id="@+id/image"
  18. android:layout_width="30dp"
  19. android:layout_height="30dp"
  20. android:layout_centerVertical="true"
  21. android:layout_marginLeft="20dp" />
  22. <TextView
  23. android:id="@+id/deptName"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_centerVertical="true"
  27. android:layout_marginLeft="10dp"
  28. android:layout_toRightOf="@+id/image"
  29. android:text="实验室名称-房间号"
  30. android:textColor="@color/white"
  31. android:textSize="22sp" />
  32. <LinearLayout
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_centerInParent="true"
  36. android:layout_centerVertical="true"
  37. android:layout_marginTop="2dp">
  38. <TextView
  39. android:id="@+id/tvTitle"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_centerHorizontal="true"
  43. android:layout_centerVertical="true"
  44. android:text="化学品智能管理"
  45. android:textColor="@color/white"
  46. android:textSize="24sp"
  47. android:textStyle="bold" />
  48. <TextView
  49. android:id="@+id/nowTime"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginLeft="6dp"
  53. android:layout_toRightOf="@+id/tvTitle"
  54. android:textColor="@color/white" />
  55. </LinearLayout>
  56. <RelativeLayout
  57. android:id="@+id/loggedIn"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_alignParentRight="true"
  61. android:layout_centerVertical="true"
  62. android:gravity="center_vertical"
  63. android:paddingRight="18dp">
  64. <ImageView
  65. android:id="@+id/imageName"
  66. android:layout_width="30dp"
  67. android:layout_height="30dp"
  68. android:layout_centerVertical="true"
  69. android:layout_marginRight="6dp" />
  70. <TextView
  71. android:id="@+id/tvName"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_centerVertical="true"
  75. android:layout_marginLeft="6dp"
  76. android:layout_marginRight="6dp"
  77. android:layout_toRightOf="@+id/imageName"
  78. android:text="李XX"
  79. android:textColor="@color/white" />
  80. <ImageView
  81. android:id="@+id/imgOut"
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_centerVertical="true"
  85. android:layout_marginLeft="6dp"
  86. android:layout_marginRight="6dp"
  87. android:layout_toRightOf="@+id/tvName"
  88. android:background="@mipmap/cshrk_dl_tc" />
  89. <TextView
  90. android:id="@+id/tvOutLogin"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_centerVertical="true"
  94. android:layout_marginRight="10dp"
  95. android:layout_toRightOf="@+id/imgOut"
  96. android:text="退出"
  97. android:textColor="@color/white"
  98. android:textSize="16sp" />
  99. </RelativeLayout>
  100. </RelativeLayout>
  101. <RelativeLayout
  102. android:layout_width="match_parent"
  103. android:layout_height="match_parent"
  104. android:layout_below="@+id/rel1"
  105. android:layout_marginLeft="31dp"
  106. android:layout_marginTop="15dp"
  107. android:layout_marginRight="31dp"
  108. android:layout_marginBottom="69dp"
  109. android:background="@drawable/bg_add_chemicals_one">
  110. <TextView
  111. android:id="@+id/title_TV"
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:layout_marginVertical="30px"
  115. android:layout_marginStart="50px"
  116. android:text="录入化学品"
  117. android:textColor="#333"
  118. android:textSize="18sp"
  119. android:textStyle="bold" />
  120. <LinearLayout
  121. android:id="@+id/control_RL"
  122. android:layout_width="match_parent"
  123. android:layout_height="180px"
  124. android:layout_alignParentBottom="true"
  125. android:gravity="center">
  126. <Button
  127. android:layout_width="wrap_content"
  128. android:layout_height="wrap_content"
  129. android:text="取消" />
  130. <Button
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:text="重置" />
  134. <Button
  135. android:id="@+id/weigh_save_BT"
  136. android:layout_width="wrap_content"
  137. android:layout_height="wrap_content"
  138. android:text="称重存储" />
  139. <Button
  140. android:id="@+id/save_BT"
  141. android:layout_width="wrap_content"
  142. android:layout_height="wrap_content"
  143. android:text="存储" />
  144. </LinearLayout>
  145. <LinearLayout
  146. android:layout_width="match_parent"
  147. android:layout_height="match_parent"
  148. android:layout_above="@id/control_RL"
  149. android:layout_below="@id/title_TV"
  150. android:orientation="horizontal">
  151. <LinearLayout
  152. android:layout_width="match_parent"
  153. android:layout_height="match_parent"
  154. android:layout_weight="1"
  155. android:orientation="vertical">
  156. <LinearLayout
  157. android:layout_width="match_parent"
  158. android:layout_height="65px"
  159. android:layout_marginStart="50px"
  160. android:layout_weight="1"
  161. android:gravity="center_vertical">
  162. <TextView
  163. android:layout_width="120px"
  164. android:layout_height="wrap_content"
  165. android:gravity="end"
  166. android:text="品名"
  167. android:textColor="#333" />
  168. <androidx.appcompat.widget.AppCompatEditText
  169. android:id="@+id/chemical_search_ET"
  170. android:layout_width="250px"
  171. android:layout_height="50px"
  172. android:layout_marginStart="20px"
  173. android:background="@drawable/shape_input_box"
  174. android:gravity="center_vertical"
  175. android:hint="输入化学品名称搜索"
  176. android:imeOptions="actionSearch"
  177. android:maxLines="1"
  178. android:paddingHorizontal="10px"
  179. android:text="乙酸"
  180. android:textAppearance="@style/input_hint_text_size" />
  181. <Button
  182. android:id="@+id/chemical_search_BT"
  183. android:layout_width="80px"
  184. android:layout_height="50px"
  185. android:layout_marginStart="10px"
  186. android:background="@drawable/selector_input_bt"
  187. android:text="搜索"
  188. android:textColor="@color/white" />
  189. </LinearLayout>
  190. <LinearLayout
  191. android:layout_width="match_parent"
  192. android:layout_height="65px"
  193. android:layout_marginStart="50px"
  194. android:layout_weight="1"
  195. android:gravity="center_vertical">
  196. <TextView
  197. android:layout_width="120px"
  198. android:layout_height="wrap_content"
  199. android:gravity="end"
  200. android:text="类别"
  201. android:textColor="#333" />
  202. <TextView
  203. android:id="@+id/chemical_category_TV"
  204. android:layout_width="250px"
  205. android:layout_height="50px"
  206. android:layout_marginStart="20px"
  207. android:background="@drawable/shape_input_box"
  208. android:gravity="center_vertical"
  209. android:hint="选择化学品类别"
  210. android:paddingHorizontal="10px"
  211. android:textAppearance="@style/input_hint_text_size"
  212. app:drawableEndCompat="@drawable/vector_input_down_arrow" />
  213. </LinearLayout>
  214. <LinearLayout
  215. android:layout_width="match_parent"
  216. android:layout_height="65px"
  217. android:layout_marginStart="50px"
  218. android:layout_weight="1"
  219. android:gravity="center_vertical">
  220. <TextView
  221. android:layout_width="120px"
  222. android:layout_height="wrap_content"
  223. android:gravity="end"
  224. android:text="净含量"
  225. android:textColor="#333" />
  226. <RelativeLayout
  227. android:layout_width="270px"
  228. android:layout_height="match_parent">
  229. <TextView
  230. android:layout_width="50px"
  231. android:layout_height="wrap_content"
  232. android:layout_alignParentEnd="true"
  233. android:layout_centerVertical="true"
  234. android:background="@drawable/shape_input_unit_ml"
  235. android:gravity="center"
  236. android:text="ml"
  237. android:textColor="#999" />
  238. <androidx.appcompat.widget.AppCompatEditText
  239. android:id="@+id/net_wt_ET"
  240. android:layout_width="250px"
  241. android:layout_height="50px"
  242. android:layout_centerVertical="true"
  243. android:layout_marginStart="20px"
  244. android:background="@drawable/shape_input_box"
  245. android:digits="1234567890."
  246. android:gravity="center_vertical"
  247. android:hint="输入净含量"
  248. android:imeOptions="actionDone"
  249. android:inputType="numberDecimal"
  250. android:paddingHorizontal="10px"
  251. android:text="30"
  252. android:textAppearance="@style/input_hint_text_size" />
  253. </RelativeLayout>
  254. </LinearLayout>
  255. <LinearLayout
  256. android:layout_width="match_parent"
  257. android:layout_height="65px"
  258. android:layout_marginStart="50px"
  259. android:layout_weight="1"
  260. android:gravity="center_vertical">
  261. <TextView
  262. android:layout_width="120px"
  263. android:layout_height="wrap_content"
  264. android:gravity="end"
  265. android:text="归属人"
  266. android:textColor="#333" />
  267. <androidx.appcompat.widget.AppCompatEditText
  268. android:id="@+id/belong_ET"
  269. android:layout_width="250px"
  270. android:layout_height="50px"
  271. android:layout_marginStart="20px"
  272. android:background="@drawable/shape_input_box"
  273. android:gravity="center_vertical"
  274. android:hint="输入姓名或工号搜索"
  275. android:imeOptions="actionSearch"
  276. android:paddingHorizontal="10px"
  277. android:text="刘一航"
  278. android:textAppearance="@style/input_hint_text_size" />
  279. <Button
  280. android:id="@+id/belong_BT"
  281. android:layout_width="80px"
  282. android:layout_height="50px"
  283. android:layout_marginStart="10px"
  284. android:background="@drawable/selector_input_bt"
  285. android:text="搜索"
  286. android:textColor="@color/white" />
  287. </LinearLayout>
  288. <LinearLayout
  289. android:layout_width="match_parent"
  290. android:layout_height="65px"
  291. android:layout_marginStart="50px"
  292. android:layout_weight="1"
  293. android:gravity="center_vertical">
  294. <TextView
  295. android:layout_width="120px"
  296. android:layout_height="wrap_content"
  297. android:gravity="end"
  298. android:text="存储位置"
  299. android:textColor="#333" />
  300. <TextView
  301. android:id="@+id/cabinet_Layer_select_TV"
  302. android:layout_width="260px"
  303. android:layout_height="50px"
  304. android:layout_marginStart="10px"
  305. android:ellipsize="marquee"
  306. android:focusable="true"
  307. android:focusableInTouchMode="true"
  308. android:gravity="center"
  309. android:marqueeRepeatLimit="marquee_forever"
  310. android:singleLine="true"
  311. android:text="请选择化学品柜层" />
  312. <Button
  313. android:id="@+id/change_cabinet_BT"
  314. android:layout_width="80px"
  315. android:layout_height="50px"
  316. android:layout_marginStart="10px"
  317. android:background="@drawable/selector_input_select_bt"
  318. android:text="⇋"
  319. android:textColor="@color/white" />
  320. </LinearLayout>
  321. </LinearLayout>
  322. <LinearLayout
  323. android:layout_width="match_parent"
  324. android:layout_height="match_parent"
  325. android:layout_weight="1"
  326. android:orientation="vertical">
  327. <LinearLayout
  328. android:layout_width="match_parent"
  329. android:layout_height="65px"
  330. android:layout_marginStart="50px"
  331. android:layout_weight="1"
  332. android:gravity="center_vertical">
  333. <TextView
  334. android:layout_width="120px"
  335. android:layout_height="wrap_content"
  336. android:gravity="end"
  337. android:text="CAS"
  338. android:textColor="#333" />
  339. <androidx.appcompat.widget.AppCompatEditText
  340. android:id="@+id/cas_ET"
  341. android:layout_width="250px"
  342. android:layout_height="50px"
  343. android:layout_marginStart="20px"
  344. android:background="@drawable/shape_input_box"
  345. android:gravity="center_vertical"
  346. android:hint="输入CAS码搜索"
  347. android:imeOptions="actionSearch"
  348. android:inputType="numberSigned"
  349. android:paddingHorizontal="10px"
  350. android:textAppearance="@style/input_hint_text_size" />
  351. <Button
  352. android:id="@+id/cas_BT"
  353. android:layout_width="80px"
  354. android:layout_height="50px"
  355. android:layout_marginStart="10px"
  356. android:background="@drawable/selector_input_bt"
  357. android:text="搜索"
  358. android:textColor="@color/white" />
  359. </LinearLayout>
  360. <LinearLayout
  361. android:layout_width="match_parent"
  362. android:layout_height="65px"
  363. android:layout_marginStart="50px"
  364. android:layout_weight="1"
  365. android:gravity="center_vertical">
  366. <TextView
  367. android:layout_width="120px"
  368. android:layout_height="wrap_content"
  369. android:gravity="end"
  370. android:text="规格"
  371. android:textColor="#333" />
  372. <androidx.appcompat.widget.AppCompatEditText
  373. android:id="@+id/chemical_spec_ET"
  374. android:layout_width="250px"
  375. android:layout_height="50px"
  376. android:layout_marginStart="20px"
  377. android:background="@drawable/shape_input_box"
  378. android:gravity="center_vertical"
  379. android:hint="输入规格容量"
  380. android:imeOptions="actionDone"
  381. android:inputType="numberDecimal"
  382. android:paddingHorizontal="10px"
  383. android:textAppearance="@style/input_hint_text_size" />
  384. <RadioGroup
  385. android:id="@+id/chemical_spec_RG"
  386. android:layout_width="120px"
  387. android:layout_height="65px"
  388. android:layout_marginStart="10px"
  389. android:gravity="center_vertical"
  390. android:orientation="horizontal">
  391. <RadioButton
  392. android:id="@+id/chemical_spec_ml_RB"
  393. android:layout_width="wrap_content"
  394. android:layout_height="wrap_content"
  395. android:layout_weight="1"
  396. android:background="@drawable/selector_input_select_unit_ml_rb"
  397. android:button="@null"
  398. android:checked="true"
  399. android:gravity="center"
  400. android:text="ml"
  401. android:textColor="@drawable/selector_input_select_text_color" />
  402. <RadioButton
  403. android:id="@+id/chemical_spec_g_RB"
  404. android:layout_width="wrap_content"
  405. android:layout_height="wrap_content"
  406. android:layout_weight="1"
  407. android:background="@drawable/selector_input_select_unit_g_rb"
  408. android:button="@null"
  409. android:gravity="center"
  410. android:text="g"
  411. android:textColor="@drawable/selector_input_select_text_color" />
  412. </RadioGroup>
  413. </LinearLayout>
  414. <LinearLayout
  415. android:layout_width="match_parent"
  416. android:layout_height="65px"
  417. android:layout_marginStart="50px"
  418. android:layout_weight="1"
  419. android:gravity="center_vertical">
  420. <TextView
  421. android:layout_width="120px"
  422. android:layout_height="wrap_content"
  423. android:gravity="end"
  424. android:text="数量"
  425. android:textColor="#333" />
  426. <androidx.appcompat.widget.AppCompatEditText
  427. android:id="@+id/size_ET"
  428. android:layout_width="250px"
  429. android:layout_height="50px"
  430. android:layout_marginStart="20px"
  431. android:background="@drawable/shape_input_box"
  432. android:digits="1234567890"
  433. android:gravity="center_vertical"
  434. android:hint="输入化学品数量"
  435. android:imeOptions="actionDone"
  436. android:inputType="number"
  437. android:paddingHorizontal="10px"
  438. android:text="2"
  439. android:textAppearance="@style/input_hint_text_size" />
  440. </LinearLayout>
  441. <LinearLayout
  442. android:layout_width="match_parent"
  443. android:layout_height="65px"
  444. android:layout_marginStart="50px"
  445. android:layout_weight="1"
  446. android:gravity="center_vertical">
  447. <TextView
  448. android:layout_width="120px"
  449. android:layout_height="wrap_content"
  450. android:gravity="end"
  451. android:text="课题组"
  452. android:textColor="#333" />
  453. <androidx.appcompat.widget.AppCompatEditText
  454. android:id="@+id/topic_ET"
  455. android:layout_width="250px"
  456. android:layout_height="50px"
  457. android:layout_marginStart="20px"
  458. android:background="@drawable/shape_input_box"
  459. android:gravity="center_vertical"
  460. android:hint="非必填"
  461. android:imeOptions="actionSearch"
  462. android:paddingHorizontal="10px"
  463. android:textAppearance="@style/input_hint_text_size" />
  464. <Button
  465. android:id="@+id/topic_BT"
  466. android:layout_width="80px"
  467. android:layout_height="50px"
  468. android:layout_marginStart="10px"
  469. android:background="@drawable/selector_input_bt"
  470. android:text="搜索"
  471. android:textColor="@color/white" />
  472. </LinearLayout>
  473. <View
  474. android:layout_width="match_parent"
  475. android:layout_height="65px"
  476. android:layout_marginStart="50px"
  477. android:layout_weight="1" />
  478. </LinearLayout>
  479. <LinearLayout
  480. android:layout_width="match_parent"
  481. android:layout_height="match_parent"
  482. android:layout_weight="1"
  483. android:orientation="vertical">
  484. <LinearLayout
  485. android:layout_width="match_parent"
  486. android:layout_height="65px"
  487. android:layout_marginStart="50px"
  488. android:layout_weight="1"
  489. android:gravity="center_vertical">
  490. <TextView
  491. android:layout_width="120px"
  492. android:layout_height="wrap_content"
  493. android:gravity="end"
  494. android:text="级别"
  495. android:textColor="#333" />
  496. <RadioGroup
  497. android:id="@+id/cm_RG"
  498. android:layout_width="wrap_content"
  499. android:layout_height="65px"
  500. android:layout_marginStart="10px"
  501. android:gravity="center_vertical"
  502. android:orientation="horizontal">
  503. <RadioButton
  504. android:id="@+id/uncontrolled_RB"
  505. android:layout_width="wrap_content"
  506. android:layout_height="wrap_content"
  507. android:layout_weight="1"
  508. android:background="@drawable/selector_input_select_unit_ml_rb"
  509. android:button="@null"
  510. android:gravity="center"
  511. android:paddingHorizontal="20px"
  512. android:text="非管控"
  513. android:textColor="@drawable/selector_input_select_text_color"
  514. android:textSize="12sp" />
  515. <RadioButton
  516. android:id="@+id/controlled_RB"
  517. android:layout_width="wrap_content"
  518. android:layout_height="wrap_content"
  519. android:layout_weight="1"
  520. android:background="@drawable/selector_input_select_unit_g_rb"
  521. android:button="@null"
  522. android:checked="true"
  523. android:gravity="center"
  524. android:paddingHorizontal="20px"
  525. android:text="管控"
  526. android:textColor="@drawable/selector_input_select_text_color"
  527. android:textSize="12sp" />
  528. </RadioGroup>
  529. </LinearLayout>
  530. <LinearLayout
  531. android:layout_width="match_parent"
  532. android:layout_height="65px"
  533. android:layout_marginStart="50px"
  534. android:layout_weight="1"
  535. android:gravity="center_vertical">
  536. <TextView
  537. android:layout_width="120px"
  538. android:layout_height="wrap_content"
  539. android:gravity="end"
  540. android:text="密度"
  541. android:textColor="#333" />
  542. <androidx.appcompat.widget.AppCompatEditText
  543. android:id="@+id/chemical_density_ET"
  544. android:layout_width="250px"
  545. android:layout_height="50px"
  546. android:layout_marginStart="20px"
  547. android:background="@drawable/shape_input_box"
  548. android:digits="1234567890."
  549. android:gravity="center_vertical"
  550. android:hint="输入化学品密度"
  551. android:imeOptions="actionDone"
  552. android:inputType="numberDecimal"
  553. android:paddingHorizontal="10px"
  554. android:textAppearance="@style/input_hint_text_size" />
  555. </LinearLayout>
  556. <LinearLayout
  557. android:layout_width="match_parent"
  558. android:layout_height="65px"
  559. android:layout_marginStart="50px"
  560. android:layout_weight="1"
  561. android:gravity="center_vertical">
  562. <TextView
  563. android:layout_width="120px"
  564. android:layout_height="wrap_content"
  565. android:gravity="end"
  566. android:text="纯度"
  567. android:textColor="#333" />
  568. <androidx.appcompat.widget.AppCompatEditText
  569. android:layout_width="250px"
  570. android:layout_height="50px"
  571. android:layout_marginStart="20px"
  572. android:background="@drawable/shape_input_box"
  573. android:gravity="center_vertical"
  574. android:hint="非必填"
  575. android:imeOptions="actionDone"
  576. android:paddingHorizontal="10px"
  577. android:textAppearance="@style/input_hint_text_size" />
  578. </LinearLayout>
  579. <LinearLayout
  580. android:layout_width="match_parent"
  581. android:layout_height="65px"
  582. android:layout_marginStart="50px"
  583. android:layout_weight="1"
  584. android:gravity="center_vertical">
  585. <TextView
  586. android:layout_width="120px"
  587. android:layout_height="wrap_content"
  588. android:gravity="end"
  589. android:text="厂家"
  590. android:textColor="#333" />
  591. <androidx.appcompat.widget.AppCompatEditText
  592. android:id="@+id/factory_ET"
  593. android:layout_width="250px"
  594. android:layout_height="50px"
  595. android:layout_marginStart="20px"
  596. android:background="@drawable/shape_input_box"
  597. android:gravity="center_vertical"
  598. android:hint="非必填"
  599. android:imeOptions="actionDone"
  600. android:paddingHorizontal="10px"
  601. android:textAppearance="@style/input_hint_text_size" />
  602. </LinearLayout>
  603. <View
  604. android:layout_width="match_parent"
  605. android:layout_height="65px"
  606. android:layout_marginStart="50px"
  607. android:layout_weight="1" />
  608. </LinearLayout>
  609. </LinearLayout>
  610. </RelativeLayout>
  611. <TextView
  612. android:id="@+id/tvReturn"
  613. android:layout_width="85dp"
  614. android:layout_height="30dp"
  615. android:layout_alignParentBottom="true"
  616. android:layout_marginBottom="20dp"
  617. android:background="@drawable/bg_retrun"
  618. android:gravity="center"
  619. android:text="返回180s"
  620. android:textColor="@color/white"
  621. android:textSize="10sp" />
  622. </RelativeLayout>