Advertisement
ricky_yulianto

Untitled

Jan 16th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.design.widget.CoordinatorLayout 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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@android:color/white"
  8. android:fitsSystemWindows="true"
  9. android:orientation="vertical">
  10.  
  11.  
  12. <include
  13. android:id="@+id/rv_viewpager1"
  14. layout="@layout/header_layout_detailpm" />
  15.  
  16. <FrameLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  20.  
  21. <include layout="@layout/error" />
  22.  
  23. <include layout="@layout/loading" />
  24.  
  25.  
  26. <android.support.v4.widget.NestedScrollView
  27. android:id="@+id/container_content"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent">
  30.  
  31. <LinearLayout
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:orientation="vertical">
  35.  
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:background="@color/colorPrimary"
  40. android:gravity="center_vertical"
  41. android:orientation="horizontal"
  42. android:padding="16dp">
  43.  
  44. <LinearLayout
  45. android:layout_width="0dp"
  46. android:layout_height="wrap_content"
  47. android:layout_weight="1"
  48. android:orientation="vertical">
  49. <LinearLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:layout_marginLeft="0dp"
  53. android:orientation="horizontal"
  54. android:padding="0dp">
  55.  
  56. <TextView
  57. android:layout_width="100dp"
  58. android:layout_height="wrap_content"
  59. android:text="Task ID"
  60. android:textColor="@color/white"
  61. android:textSize="14sp" />
  62.  
  63. <TextView
  64. android:id="@+id/tv_task_id"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_weight="1"
  68. android:text="123456789"
  69. android:textColor="@android:color/white"
  70. android:textSize="13sp"
  71. android:textStyle="bold" />
  72. </LinearLayout>
  73. <LinearLayout
  74. android:layout_width="match_parent"
  75. android:layout_height="wrap_content"
  76. android:layout_marginLeft="0dp"
  77. android:orientation="horizontal"
  78. android:padding="0dp">
  79.  
  80. <TextView
  81. android:layout_width="100dp"
  82. android:layout_height="wrap_content"
  83. android:text="Type"
  84. android:textColor="@color/white"
  85. android:textSize="14sp" />
  86.  
  87. <TextView
  88. android:id="@+id/tv_type"
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:layout_weight="1"
  92. android:text=""
  93. android:textColor="@android:color/white"
  94. android:textSize="13sp"
  95. android:textStyle="bold" />
  96. </LinearLayout>
  97.  
  98. <!--<TextView-->
  99. <!--android:id="@+id/tv_type"-->
  100. <!--android:layout_width="wrap_content"-->
  101. <!--android:layout_height="wrap_content"-->
  102. <!--android:layout_marginTop="4dp"-->
  103. <!--android:text="Type - Asset"-->
  104. <!--android:textColor="@color/white60"-->
  105. <!--android:textSize="12sp" />-->
  106. <LinearLayout
  107. android:layout_width="match_parent"
  108. android:layout_height="wrap_content"
  109. android:layout_marginLeft="0dp"
  110. android:orientation="horizontal"
  111. android:visibility="gone"
  112. android:padding="0dp">
  113.  
  114. <TextView
  115. android:layout_width="100dp"
  116. android:layout_height="wrap_content"
  117. android:text="Type"
  118. android:textColor="@color/white"
  119. android:textSize="14sp" />
  120.  
  121. <TextView
  122. android:id="@+id/tv_title"
  123. android:layout_width="wrap_content"
  124. android:layout_height="wrap_content"
  125. android:layout_weight="1"
  126. android:text="Monitor error"
  127. android:textColor="@android:color/white"
  128. android:textSize="13sp"
  129. android:textStyle="bold" />
  130. </LinearLayout>
  131.  
  132. <!--<TextView-->
  133. <!--android:id="@+id/tv_title"-->
  134. <!--android:layout_width="wrap_content"-->
  135. <!--android:layout_height="wrap_content"-->
  136. <!--android:text="Monitor Error"-->
  137. <!--android:textColor="@android:color/white"-->
  138. <!--android:textSize="16sp"-->
  139. <!--android:textStyle="bold" />-->
  140. <LinearLayout
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content"
  143. android:layout_marginLeft="0dp"
  144. android:orientation="horizontal"
  145. android:padding="0dp">
  146.  
  147. <TextView
  148. android:layout_width="100dp"
  149. android:layout_height="wrap_content"
  150. android:text="Hospital"
  151. android:textColor="@color/white"
  152. android:textSize="14sp" />
  153.  
  154. <TextView
  155. android:id="@+id/tv_location"
  156. android:layout_marginTop="0dp"
  157. android:textSize="13sp"
  158. android:textStyle="bold"
  159. android:textColor="@color/white60"
  160. android:text="Siloam Jakarta"
  161. android:layout_width="wrap_content"
  162. android:layout_height="wrap_content" />
  163. </LinearLayout>
  164.  
  165. <!--<TextView-->
  166. <!--android:id="@+id/tv_location"-->
  167. <!--android:layout_width="wrap_content"-->
  168. <!--android:layout_height="wrap_content"-->
  169. <!--android:layout_marginTop="4dp"-->
  170. <!--android:text="Siloam Jakarta - Department IT"-->
  171. <!--android:textColor="@color/white60"-->
  172. <!--android:textSize="12sp" />-->
  173. <LinearLayout
  174. android:layout_width="match_parent"
  175. android:layout_height="wrap_content"
  176. android:layout_marginLeft="0dp"
  177. android:orientation="horizontal"
  178. android:visibility="visible"
  179. android:padding="0dp">
  180.  
  181. <TextView
  182. android:layout_width="100dp"
  183. android:layout_height="wrap_content"
  184. android:text="Department"
  185. android:textColor="@color/white"
  186. android:textSize="14sp" />
  187.  
  188. <TextView
  189. android:id="@+id/tv_department"
  190. android:layout_width="wrap_content"
  191. android:layout_height="wrap_content"
  192. android:layout_weight="1"
  193. android:text="IT"
  194. android:textColor="@android:color/white"
  195. android:textSize="13sp"
  196. android:textStyle="bold" />
  197. </LinearLayout>
  198. <LinearLayout
  199. android:layout_width="match_parent"
  200. android:layout_height="wrap_content"
  201. android:layout_marginLeft="0dp"
  202. android:orientation="horizontal"
  203. android:padding="0dp">
  204.  
  205. <TextView
  206. android:layout_width="100dp"
  207. android:layout_height="wrap_content"
  208. android:text="Room"
  209. android:textColor="@color/white"
  210. android:textSize="14sp" />
  211.  
  212. <TextView
  213. android:id="@+id/tv_room"
  214. android:layout_width="wrap_content"
  215. android:layout_height="wrap_content"
  216. android:layout_weight="1"
  217. android:text="ICU 2nd Floor"
  218. android:textColor="@android:color/white"
  219. android:textSize="13sp"
  220. android:textStyle="bold" />
  221. </LinearLayout>
  222.  
  223.  
  224. <!--<TextView-->
  225. <!--android:id="@+id/tv_room"-->
  226. <!--android:layout_width="wrap_content"-->
  227. <!--android:layout_height="wrap_content"-->
  228. <!--android:layout_marginTop="4dp"-->
  229. <!--android:text="Room - ICU 2nd Floor"-->
  230. <!--android:textColor="@color/white60"-->
  231. <!--android:textSize="12sp" />-->
  232.  
  233.  
  234. </LinearLayout>
  235. <!--<LinearLayout-->
  236. <!--android:gravity="center"-->
  237. <!--android:layout_width="wrap_content"-->
  238. <!--android:layout_height="wrap_content"-->
  239. <!--android:orientation="vertical">-->
  240. <!--<ImageView-->
  241. <!--android:id="@+id/img_urgency"-->
  242. <!--android:src="@drawable/prev"-->
  243. <!--android:layout_width="wrap_content"-->
  244. <!--android:layout_height="wrap_content" />-->
  245.  
  246. <!--<TextView-->
  247. <!--android:layout_marginTop="6dp"-->
  248. <!--android:id="@+id/tv_urgency"-->
  249. <!--android:textSize="12sp"-->
  250. <!--android:textColor="@color/white60"-->
  251. <!--android:text="Preventive"-->
  252. <!--android:layout_width="wrap_content"-->
  253. <!--android:layout_height="wrap_content" />-->
  254.  
  255. <!--</LinearLayout>-->
  256. </LinearLayout>
  257.  
  258.  
  259. <LinearLayout
  260. android:layout_width="match_parent"
  261. android:layout_height="wrap_content"
  262. android:gravity="bottom"
  263. android:orientation="horizontal">
  264.  
  265. <LinearLayout
  266. android:layout_width="0dp"
  267. android:layout_height="wrap_content"
  268. android:layout_weight="1"
  269. android:gravity="center_vertical"
  270. android:orientation="horizontal">
  271.  
  272. <TextView
  273. android:id="@+id/tv_status"
  274. android:layout_width="wrap_content"
  275. android:layout_height="wrap_content"
  276. android:paddingStart="16dp"
  277. android:paddingTop="10dp"
  278. android:text="Status"
  279. android:textColor="@color/half_black"
  280. android:textSize="13sp" />
  281.  
  282. </LinearLayout>
  283.  
  284. <TextView
  285. android:id="@+id/tv_time"
  286. android:layout_width="wrap_content"
  287. android:layout_height="wrap_content"
  288. android:layout_marginStart="1dp"
  289. android:paddingEnd="10dp"
  290. android:text="03:00 PM"
  291. android:textSize="11sp" />
  292.  
  293. <TextView
  294. android:id="@+id/tv_urgency"
  295. android:layout_width="wrap_content"
  296. android:layout_height="wrap_content"
  297. android:background="@drawable/bg_teal"
  298. android:paddingStart="6dp"
  299. android:paddingTop="2dp"
  300. android:paddingEnd="6dp"
  301. android:paddingBottom="2dp"
  302. android:layout_marginRight="10dp"
  303. android:text="Done"
  304. android:textColor="@color/cyan_600"
  305. android:textSize="11sp" />
  306.  
  307. </LinearLayout>
  308.  
  309. <View
  310. android:layout_width="match_parent"
  311. android:layout_height="1dp"
  312. android:layout_marginTop="16dp"
  313. android:background="#CCCCCC" />
  314.  
  315. <LinearLayout
  316. android:layout_width="match_parent"
  317. android:layout_height="wrap_content"
  318. android:orientation="vertical"
  319. android:padding="16dp">
  320.  
  321. <TextView
  322. android:layout_width="wrap_content"
  323. android:layout_height="wrap_content"
  324. android:text="Issue"
  325. android:textColor="@android:color/black"
  326. android:textSize="14sp" />
  327.  
  328. <TextView
  329. android:id="@+id/tv_issue"
  330. android:layout_width="wrap_content"
  331. android:layout_height="wrap_content"
  332. android:layout_marginTop="2dp"
  333. android:text="@string/lorem"
  334. android:textColor="@color/black60"
  335. android:textSize="12sp" />
  336. </LinearLayout>
  337. <View
  338. android:layout_width="match_parent"
  339. android:layout_height="1dp"
  340. android:layout_marginTop="0dp"
  341. android:background="#CCCCCC" />
  342. <LinearLayout
  343. android:layout_width="match_parent"
  344. android:layout_height="wrap_content"
  345. android:orientation="vertical"
  346. android:padding="16dp">
  347. <TextView
  348. android:layout_width="wrap_content"
  349. android:layout_height="wrap_content"
  350. android:layout_marginTop="0dp"
  351. android:text="Solution"
  352. android:textColor="@android:color/black"
  353. android:textSize="14sp" />
  354.  
  355. <TextView
  356. android:id="@+id/tv_solution"
  357. android:layout_width="wrap_content"
  358. android:layout_height="wrap_content"
  359. android:layout_marginTop="2dp"
  360. android:text="@string/lorem"
  361. android:textColor="@color/black60"
  362. android:textSize="12sp"/>
  363.  
  364. </LinearLayout>
  365.  
  366. <View
  367. android:layout_width="match_parent"
  368. android:layout_height="1dp"
  369. android:layout_marginTop="16dp"
  370. android:background="#CCCCCC" />
  371.  
  372.  
  373. <!--<LinearLayout-->
  374. <!--android:padding="16dp"-->
  375. <!--android:layout_width="match_parent"-->
  376. <!--android:layout_height="wrap_content"-->
  377. <!--android:orientation="vertical">-->
  378.  
  379. <!--<TextView-->
  380. <!--android:textSize="14sp"-->
  381. <!--android:textColor="@android:color/black"-->
  382. <!--android:text="Solution"-->
  383. <!--android:layout_width="wrap_content"-->
  384. <!--android:layout_height="wrap_content" />-->
  385. <!--<TextView-->
  386. <!--android:id="@+id/tv_solution"-->
  387. <!--android:layout_marginTop="2dp"-->
  388. <!--android:textSize="12sp"-->
  389. <!--android:textColor="@color/black60"-->
  390. <!--android:text="@string/lorem"-->
  391. <!--android:layout_width="wrap_content"-->
  392. <!--android:layout_height="wrap_content" />-->
  393. <!--</LinearLayout>-->
  394.  
  395.  
  396. <View
  397. android:layout_width="match_parent"
  398. android:layout_height="1dp"
  399. android:background="#CCCCCC" />
  400.  
  401. <LinearLayout
  402. android:layout_width="match_parent"
  403. android:layout_height="wrap_content"
  404. android:orientation="vertical"
  405. android:visibility="gone">
  406.  
  407. <TextView
  408. android:layout_width="wrap_content"
  409. android:layout_height="wrap_content"
  410. android:layout_marginStart="16dp"
  411. android:layout_marginTop="16dp"
  412. android:text="Maintenance image"
  413. android:textColor="@android:color/black"
  414. android:textSize="14sp" />
  415.  
  416.  
  417. <android.support.v7.widget.RecyclerView
  418. android:id="@+id/recycler_view_pm"
  419. android:layout_width="match_parent"
  420. android:layout_height="wrap_content"
  421. android:minHeight="108dp" />
  422. </LinearLayout>
  423.  
  424. <Button
  425. android:id="@+id/btn_form"
  426. android:layout_width="wrap_content"
  427. android:layout_height="40dp"
  428. android:layout_gravity="center_horizontal"
  429. android:layout_marginTop="16dp"
  430. android:layout_marginBottom="16dp"
  431. android:background="@drawable/btn_cyan"
  432. android:drawableStart="@drawable/ic_download"
  433. android:drawablePadding="10dp"
  434. android:paddingStart="56dp"
  435. android:paddingEnd="56dp"
  436. android:text="Download Form"
  437. android:textAllCaps="false"
  438. android:textColor="@android:color/white"
  439. android:textSize="14sp"
  440. android:visibility="gone" />
  441.  
  442. <Button
  443. android:id="@+id/btn_verify"
  444. android:layout_width="match_parent"
  445. android:layout_height="40dp"
  446. android:layout_marginStart="56dp"
  447. android:layout_marginTop="16dp"
  448. android:layout_marginEnd="56dp"
  449. android:layout_marginBottom="10dp"
  450. android:background="@drawable/btn_cyan"
  451. android:text="Verify"
  452. android:textAllCaps="false"
  453. android:textColor="@android:color/white"
  454. android:textSize="14sp" />
  455.  
  456. <View
  457. android:layout_width="match_parent"
  458. android:layout_height="6dp"
  459. android:background="#CCCCCC" />
  460.  
  461.  
  462. <LinearLayout
  463. android:layout_width="match_parent"
  464. android:layout_height="wrap_content"
  465. android:orientation="vertical">
  466.  
  467. <TextView
  468. android:layout_width="wrap_content"
  469. android:layout_height="wrap_content"
  470. android:layout_marginStart="14dp"
  471. android:layout_marginTop="16dp"
  472. android:text="Upload Form"
  473. android:textColor="@android:color/black"
  474. android:textSize="14sp" />
  475.  
  476.  
  477. <Button
  478. android:id="@+id/btn_select_form"
  479. android:layout_width="match_parent"
  480. android:layout_height="wrap_content"
  481. android:layout_marginStart="16dp"
  482. android:layout_marginTop="6dp"
  483. android:layout_marginEnd="16dp"
  484. android:background="@drawable/square_dash"
  485. android:text="Select form"
  486. android:textAllCaps="false" />
  487. </LinearLayout>
  488.  
  489. <View
  490. android:layout_width="match_parent"
  491. android:layout_height="6dp"
  492. android:layout_marginTop="10dp"
  493. android:background="#CCCCCC" />
  494.  
  495.  
  496. <LinearLayout
  497. android:layout_width="match_parent"
  498. android:layout_height="wrap_content"
  499. android:orientation="vertical">
  500.  
  501. <TextView
  502. android:layout_width="wrap_content"
  503. android:layout_height="wrap_content"
  504. android:layout_marginStart="16dp"
  505. android:layout_marginTop="16dp"
  506. android:text="Picture Before"
  507. android:textColor="@android:color/black"
  508. android:textSize="14sp" />
  509.  
  510.  
  511. <android.support.v7.widget.RecyclerView
  512. android:id="@+id/recycler_view_before"
  513. android:layout_width="match_parent"
  514. android:layout_height="wrap_content"
  515. android:minHeight="108dp" />
  516. </LinearLayout>
  517.  
  518. <LinearLayout
  519. android:layout_width="match_parent"
  520. android:layout_height="wrap_content"
  521. android:orientation="vertical">
  522.  
  523. <TextView
  524. android:layout_width="wrap_content"
  525. android:layout_height="wrap_content"
  526. android:layout_marginStart="16dp"
  527. android:layout_marginTop="16dp"
  528. android:text="Picture After"
  529. android:textColor="@android:color/black"
  530. android:textSize="14sp" />
  531.  
  532.  
  533. <android.support.v7.widget.RecyclerView
  534. android:id="@+id/recycler_view_after"
  535. android:layout_width="match_parent"
  536. android:layout_height="wrap_content"
  537. android:minHeight="108dp" />
  538. </LinearLayout>
  539.  
  540.  
  541. <LinearLayout
  542. android:layout_width="match_parent"
  543. android:layout_height="wrap_content"
  544. android:orientation="vertical"
  545. android:visibility="gone">
  546.  
  547.  
  548. <TextView
  549. android:layout_width="wrap_content"
  550. android:layout_height="wrap_content"
  551. android:layout_marginStart="16dp"
  552. android:layout_marginTop="16dp"
  553. android:text="Form Report"
  554. android:textColor="@android:color/black"
  555. android:textSize="14sp" />
  556.  
  557. <EditText
  558. android:id="@+id/ed_form"
  559. android:layout_width="match_parent"
  560. android:layout_height="wrap_content"
  561. android:layout_marginStart="14dp"
  562. android:layout_marginEnd="14dp"
  563. android:clickable="true"
  564. android:drawableEnd="@drawable/dropdownblack_down"
  565. android:focusable="false"
  566. android:hint="Select Form"
  567. android:inputType="text"
  568. android:textColor="@android:color/black"
  569. android:textSize="14sp" />
  570.  
  571. <android.support.v7.widget.RecyclerView
  572. android:id="@+id/recycler_view_form"
  573. android:layout_width="match_parent"
  574. android:layout_height="wrap_content"
  575. android:minHeight="108dp" />
  576. </LinearLayout>
  577.  
  578.  
  579. <LinearLayout
  580.  
  581. android:layout_width="match_parent"
  582. android:layout_height="90dp"
  583. android:background="@color/dash"
  584. android:orientation="vertical">
  585.  
  586. <Button
  587. android:id="@+id/btn_finish"
  588. android:layout_width="320dp"
  589. android:layout_height="wrap_content"
  590. android:layout_gravity="center_horizontal"
  591. android:layout_marginTop="20dp"
  592. android:layout_marginBottom="10dp"
  593. android:background="@drawable/btn_kirim_cyan"
  594. android:paddingStart="40dp"
  595. android:paddingEnd="40dp"
  596. android:text="Finish"
  597. android:textAllCaps="false"
  598. android:textColor="@android:color/white"
  599. android:textSize="15sp"
  600. android:textStyle="bold" />
  601.  
  602. </LinearLayout>
  603. </LinearLayout>
  604.  
  605. </android.support.v4.widget.NestedScrollView>
  606.  
  607. </FrameLayout>
  608. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement