Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.56 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. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@android:color/white"
  7. android:focusable="false"
  8. android:focusableInTouchMode="true"
  9. android:fitsSystemWindows="true"
  10. android:orientation="vertical">
  11.  
  12.  
  13. <include
  14. layout="@layout/header_layout_promodetail"/>
  15.  
  16.  
  17. <!--<include-->
  18. <!--layout="@layout/error"/>-->
  19. <!--<include-->
  20. <!--layout="@layout/loading"/>-->
  21.  
  22.  
  23. <FrameLayout
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  27.  
  28.  
  29. <android.support.v4.widget.NestedScrollView
  30. android:id="@+id/nested_scroll"
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent">
  33.  
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:orientation="vertical">
  38.  
  39. <LinearLayout
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:layout_marginTop="0dp"
  43. android:background="@android:color/transparent"
  44. android:gravity="center_vertical"
  45. android:orientation="horizontal"
  46. android:padding="0dp">
  47.  
  48. <LinearLayout
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:orientation="vertical">
  52.  
  53. <TextView
  54. android:id="@+id/tv_promotitle"
  55. android:layout_width="match_parent"
  56. android:layout_height="match_parent"
  57. android:gravity="center"
  58. android:fontFamily="@font/poppins_medium"
  59. android:textColor="@android:color/black"
  60. android:textSize="18sp"
  61. android:textStyle="bold" />
  62.  
  63. </LinearLayout>
  64. </LinearLayout>
  65.  
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="match_parent"
  69. android:layout_marginTop="5dp"
  70. android:background="@android:color/transparent"
  71. android:gravity="center_vertical"
  72. android:orientation="horizontal"
  73. android:padding="0dp">
  74.  
  75. <LinearLayout
  76. android:visibility="gone"
  77. android:layout_width="match_parent"
  78. android:layout_height="match_parent"
  79. android:orientation="vertical">
  80.  
  81. <TextView
  82. android:id="@+id/tv_name_merchant"
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. android:layout_gravity="center"
  86. android:background="@drawable/btn_change"
  87. android:text=""
  88. android:paddingBottom="5dp"
  89. android:paddingTop="5dp"
  90. android:paddingStart="10dp"
  91. android:paddingEnd="10dp"
  92. android:textColor="@color/white"
  93. android:textSize="13sp"
  94. android:textStyle="bold" />
  95.  
  96. </LinearLayout>
  97.  
  98. </LinearLayout>
  99.  
  100. <LinearLayout
  101. android:layout_width="match_parent"
  102. android:layout_height="match_parent"
  103. android:layout_marginTop="5dp"
  104. android:background="@android:color/transparent"
  105. android:gravity="center_vertical"
  106. android:orientation="horizontal"
  107. android:padding="0dp">
  108.  
  109. <LinearLayout
  110. android:layout_width="match_parent"
  111. android:layout_height="match_parent"
  112. android:orientation="vertical">
  113.  
  114. <TextView
  115. android:id="@+id/tv_promoinfo"
  116. android:layout_width="match_parent"
  117. android:layout_height="match_parent"
  118. android:gravity="center"
  119. android:text="Periode Promo"
  120. android:fontFamily="@font/poppins_regular"
  121. android:textColor="@android:color/black"
  122. android:textSize="13sp"
  123. android:textStyle="bold" />
  124.  
  125. </LinearLayout>
  126.  
  127. </LinearLayout>
  128.  
  129. <LinearLayout
  130. android:layout_width="match_parent"
  131. android:layout_height="match_parent"
  132. android:layout_marginTop="0dp"
  133. android:background="@android:color/transparent"
  134. android:gravity="center_vertical"
  135. android:orientation="horizontal"
  136. android:padding="0dp">
  137.  
  138. <LinearLayout
  139. android:layout_width="match_parent"
  140. android:layout_height="match_parent"
  141. android:orientation="vertical">
  142.  
  143. <TextView
  144. android:id="@+id/tv_valid_date"
  145. android:layout_width="match_parent"
  146. android:layout_height="match_parent"
  147. android:gravity="center"
  148. android:text="14 Juni - 20 Desember 2019"
  149. android:textColor="@color/grey500"
  150. android:fontFamily="@font/poppins_medium"
  151. android:textSize="13sp"
  152. android:textStyle="bold" />
  153.  
  154. </LinearLayout>
  155.  
  156. </LinearLayout>
  157. <!--<View-->
  158. <!--android:layout_width="match_parent"-->
  159. <!--android:layout_height="10dp"-->
  160. <!--android:layout_marginTop="13dp"-->
  161. <!--android:background="@color/white_pressed" />-->
  162.  
  163. <!--<LinearLayout-->
  164. <!--android:layout_width="match_parent"-->
  165. <!--android:layout_height="match_parent"-->
  166. <!--android:layout_marginTop="0dp"-->
  167. <!--android:background="@android:color/transparent"-->
  168. <!--android:gravity="center_vertical"-->
  169. <!--android:orientation="horizontal"-->
  170. <!--android:padding="10dp">-->
  171.  
  172.  
  173. <LinearLayout
  174. android:visibility="gone"
  175. android:layout_width="match_parent"
  176. android:layout_height="wrap_content"
  177. android:orientation="horizontal"
  178. android:background="@drawable/valleyshape"
  179. android:gravity="center"
  180. android:padding="10dp">
  181.  
  182. <ImageView
  183. android:layout_width="30dp"
  184. android:layout_height="30dp"
  185. android:src="@drawable/valley_voucher"
  186. android:textColor="@android:color/black"
  187. android:textSize="14sp" />
  188.  
  189. <TextView
  190. android:layout_width="wrap_content"
  191. android:layout_height="wrap_content"
  192. android:layout_marginStart="10dp"
  193. android:fontFamily="@font/poppins_semibold"
  194. android:text="Get More Promo"
  195. android:textColor="@color/black_semi_transparent"
  196. android:textSize="14sp" />
  197.  
  198. <TextView
  199. android:id="@+id/btn_view_promo"
  200. android:layout_width="wrap_content"
  201. android:layout_height="wrap_content"
  202. android:layout_marginStart="70dp"
  203. android:text="View"
  204. android:paddingStart="15dp"
  205. android:paddingEnd="15dp"
  206. android:textStyle="bold"
  207. android:padding="5dp"
  208. android:textColor="@android:color/white"
  209. android:background="@drawable/btn_change"
  210. android:textSize="14sp" />
  211.  
  212. </LinearLayout>
  213.  
  214.  
  215. <!--<View-->
  216. <!--android:layout_width="match_parent"-->
  217. <!--android:layout_height="10dp"-->
  218. <!--android:layout_marginTop="13dp"-->
  219. <!--android:background="@color/white_pressed" />-->
  220.  
  221. <!--<LinearLayout-->
  222. <!--android:layout_width="match_parent"-->
  223. <!--android:layout_height="match_parent"-->
  224. <!--android:layout_marginTop="0dp"-->
  225. <!--android:background="@android:color/transparent"-->
  226. <!--android:gravity="center_vertical"-->
  227. <!--android:orientation="horizontal"-->
  228. <!--android:padding="10dp">-->
  229.  
  230. <!--<LinearLayout-->
  231. <!--android:layout_width="match_parent"-->
  232. <!--android:layout_height="match_parent"-->
  233. <!--android:orientation="vertical">-->
  234.  
  235. <!--<TextView-->
  236. <!--android:id="@+id/tv_terms"-->
  237. <!--android:layout_width="match_parent"-->
  238. <!--android:layout_height="match_parent"-->
  239. <!--android:gravity="center"-->
  240. <!--android:textStyle="bold"-->
  241. <!--android:text="Highlights"-->
  242. <!--android:textColor="@android:color/black"-->
  243. <!--android:textSize="14sp" />-->
  244.  
  245. <!--</LinearLayout>-->
  246. <!--</LinearLayout>-->
  247.  
  248. <!--<LinearLayout-->
  249. <!--android:layout_width="match_parent"-->
  250. <!--android:layout_height="match_parent"-->
  251. <!--android:layout_marginTop="0dp"-->
  252. <!--android:layout_marginStart="10dp"-->
  253. <!--android:layout_marginEnd="10dp"-->
  254. <!--android:background="@android:color/transparent"-->
  255. <!--android:orientation="horizontal"-->
  256. <!--android:padding="5dp">-->
  257.  
  258. <!--<LinearLayout-->
  259. <!--android:layout_width="match_parent"-->
  260. <!--android:layout_height="match_parent"-->
  261. <!--android:orientation="vertical">-->
  262.  
  263. <!--<TextView-->
  264. <!--android:id="@+id/tv_terms1"-->
  265. <!--android:layout_width="match_parent"-->
  266. <!--android:layout_height="match_parent"-->
  267. <!--android:gravity="left"-->
  268. <!--android:text="@string/terms"-->
  269. <!--android:textColor="@color/black_semi_transparent"-->
  270. <!--android:textSize="13sp" />-->
  271.  
  272. <!--</LinearLayout>-->
  273. <!--</LinearLayout>-->
  274.  
  275. <!--<LinearLayout-->
  276. <!--android:layout_width="match_parent"-->
  277. <!--android:layout_height="match_parent"-->
  278. <!--android:layout_marginTop="0dp"-->
  279. <!--android:layout_marginStart="10dp"-->
  280. <!--android:layout_marginEnd="10dp"-->
  281. <!--android:background="@android:color/transparent"-->
  282. <!--android:orientation="horizontal"-->
  283. <!--android:padding="5dp">-->
  284.  
  285. <!--<LinearLayout-->
  286. <!--android:layout_width="match_parent"-->
  287. <!--android:layout_height="match_parent"-->
  288. <!--android:orientation="vertical">-->
  289.  
  290. <!--<TextView-->
  291. <!--android:id="@+id/tv_terms2"-->
  292. <!--android:layout_width="match_parent"-->
  293. <!--android:layout_height="match_parent"-->
  294. <!--android:gravity="left"-->
  295. <!--android:text="@string/terms"-->
  296. <!--android:textColor="@color/black_semi_transparent"-->
  297. <!--android:textSize="13sp" />-->
  298.  
  299. <!--</LinearLayout>-->
  300. <!--</LinearLayout>-->
  301.  
  302. <!--<LinearLayout-->
  303. <!--android:layout_width="match_parent"-->
  304. <!--android:layout_height="match_parent"-->
  305. <!--android:layout_marginTop="0dp"-->
  306. <!--android:layout_marginStart="10dp"-->
  307. <!--android:layout_marginEnd="10dp"-->
  308. <!--android:background="@android:color/transparent"-->
  309. <!--android:orientation="horizontal"-->
  310. <!--android:padding="5dp">-->
  311.  
  312. <!--<LinearLayout-->
  313. <!--android:layout_width="match_parent"-->
  314. <!--android:layout_height="match_parent"-->
  315. <!--android:orientation="vertical">-->
  316.  
  317. <!--<TextView-->
  318. <!--android:id="@+id/tv_terms3"-->
  319. <!--android:layout_width="match_parent"-->
  320. <!--android:layout_height="match_parent"-->
  321. <!--android:gravity="left"-->
  322. <!--android:text="@string/terms"-->
  323. <!--android:textColor="@color/black_semi_transparent"-->
  324. <!--android:textSize="13sp" />-->
  325.  
  326. <!--</LinearLayout>-->
  327. <!--</LinearLayout>-->
  328.  
  329.  
  330. <!--<View-->
  331. <!--android:layout_width="match_parent"-->
  332. <!--android:layout_height="10dp"-->
  333. <!--android:layout_marginTop="13dp"-->
  334. <!--android:background="@color/white_pressed" />-->
  335.  
  336.  
  337. <LinearLayout
  338. android:layout_width="match_parent"
  339. android:layout_height="match_parent"
  340. android:layout_marginTop="0dp"
  341. android:background="@android:color/transparent"
  342. android:gravity="center_vertical"
  343. android:orientation="horizontal"
  344. android:padding="10dp">
  345.  
  346. <LinearLayout
  347. android:visibility="gone"
  348. android:layout_width="match_parent"
  349. android:layout_height="match_parent"
  350. android:orientation="vertical">
  351.  
  352. <TextView
  353. android:id="@+id/tv_highlights"
  354. android:layout_width="match_parent"
  355. android:layout_height="match_parent"
  356. android:gravity="center"
  357. android:textStyle="bold"
  358. android:text="Description"
  359. android:fontFamily="@font/poppins_regular"
  360. android:textColor="@android:color/black"
  361. android:textSize="14sp" />
  362.  
  363. </LinearLayout>
  364. </LinearLayout>
  365.  
  366. <LinearLayout
  367. android:layout_width="match_parent"
  368. android:layout_height="match_parent"
  369. android:layout_marginTop="0dp"
  370. android:layout_marginStart="10dp"
  371. android:layout_marginEnd="10dp"
  372. android:background="@android:color/transparent"
  373. android:orientation="horizontal"
  374. android:padding="5dp">
  375.  
  376. <LinearLayout
  377. android:layout_width="match_parent"
  378. android:layout_height="match_parent"
  379. android:orientation="vertical">
  380.  
  381. <TextView
  382. android:id="@+id/tv_highlights1"
  383. android:layout_width="wrap_content"
  384. android:layout_height="wrap_content"
  385. android:gravity="left"
  386. android:fontFamily="@font/poppins_regular"
  387. android:textColor="@color/black_semi_transparent"
  388. android:textSize="13sp" />
  389.  
  390. <Button
  391. android:visibility="gone"
  392. android:id="@+id/viewMoreHighlight"
  393. android:layout_width="wrap_content"
  394. android:layout_height="wrap_content"
  395. android:layout_gravity="center"
  396. android:layout_marginBottom="@dimen/_10sdp"
  397. android:background="?attr/selectableItemBackgroundBorderless"
  398. android:fontFamily="@font/poppins_medium"
  399. android:minHeight="@dimen/_5sdp"
  400. android:text="View more"
  401. android:textAllCaps="false"
  402. android:textColor="#f3a953"
  403. android:textSize="12sp" />
  404.  
  405. </LinearLayout>
  406. </LinearLayout>
  407.  
  408.  
  409. <View
  410. android:visibility="gone"
  411. android:layout_width="match_parent"
  412. android:layout_height="10dp"
  413. android:layout_marginTop="13dp"
  414. android:background="@color/white_pressed" />
  415.  
  416.  
  417. <!--<LinearLayout-->
  418. <!--android:layout_width="match_parent"-->
  419. <!--android:layout_height="match_parent"-->
  420. <!--android:layout_marginTop="0dp"-->
  421. <!--android:background="@android:color/transparent"-->
  422. <!--android:gravity="center_vertical"-->
  423. <!--android:orientation="horizontal"-->
  424. <!--android:padding="10dp">-->
  425.  
  426. <!--<LinearLayout-->
  427. <!--android:layout_width="match_parent"-->
  428. <!--android:layout_height="match_parent"-->
  429. <!--android:orientation="vertical">-->
  430.  
  431. <!--<TextView-->
  432. <!--android:id="@+id/tv_notice"-->
  433. <!--android:layout_width="match_parent"-->
  434. <!--android:layout_height="match_parent"-->
  435. <!--android:gravity="center"-->
  436. <!--android:textStyle="bold"-->
  437. <!--android:text="Notice"-->
  438. <!--android:fontFamily="@font/poppins_regular"-->
  439. <!--android:textColor="@android:color/black"-->
  440. <!--android:textSize="14sp" />-->
  441.  
  442. <!--</LinearLayout>-->
  443. <!--</LinearLayout>-->
  444.  
  445. <!--<LinearLayout-->
  446. <!--android:layout_width="match_parent"-->
  447. <!--android:layout_height="match_parent"-->
  448. <!--android:layout_marginTop="0dp"-->
  449. <!--android:layout_marginStart="10dp"-->
  450. <!--android:layout_marginEnd="10dp"-->
  451. <!--android:background="@android:color/transparent"-->
  452. <!--android:orientation="horizontal"-->
  453. <!--android:padding="5dp">-->
  454.  
  455. <!--<LinearLayout-->
  456. <!--android:layout_width="match_parent"-->
  457. <!--android:layout_height="match_parent"-->
  458. <!--android:orientation="vertical">-->
  459.  
  460. <!--<TextView-->
  461. <!--android:id="@+id/tv_notice2"-->
  462. <!--android:layout_width="wrap_content"-->
  463. <!--android:layout_height="wrap_content"-->
  464. <!--android:gravity="left"-->
  465. <!--android:maxLines="5"-->
  466. <!--android:fontFamily="@font/poppins_regular"-->
  467. <!--android:textColor="@color/black_semi_transparent"-->
  468. <!--android:textSize="13sp" />-->
  469.  
  470. <!--<Button-->
  471. <!--android:id="@+id/viewMoreNotice"-->
  472. <!--android:layout_width="wrap_content"-->
  473. <!--android:layout_height="wrap_content"-->
  474. <!--android:layout_gravity="center"-->
  475. <!--android:layout_marginBottom="@dimen/_10sdp"-->
  476. <!--android:background="?attr/selectableItemBackgroundBorderless"-->
  477. <!--android:fontFamily="@font/poppins_medium"-->
  478. <!--android:minHeight="@dimen/_5sdp"-->
  479. <!--android:text="View more"-->
  480. <!--android:textAllCaps="false"-->
  481. <!--android:textColor="#f3a953"-->
  482. <!--android:textSize="12sp" />-->
  483.  
  484. <!--</LinearLayout>-->
  485. <!--</LinearLayout>-->
  486.  
  487.  
  488. <Button
  489. android:visibility="gone"
  490. android:id="@+id/btn_check_now"
  491. android:layout_width="match_parent"
  492. android:layout_height="match_parent"
  493. android:layout_gravity="center_horizontal"
  494. android:layout_marginStart="20dp"
  495. android:layout_marginEnd="20dp"
  496. android:layout_marginTop="10dp"
  497. android:layout_marginBottom="20dp"
  498. android:background="@drawable/btn_change"
  499. android:paddingStart="40dp"
  500. android:paddingEnd="40dp"
  501. android:text="GET VOUCHER"
  502. android:textAllCaps="false"
  503. android:fontFamily="@font/poppins_regular"
  504. android:textColor="@android:color/white"
  505. android:textSize="13sp"
  506. android:textStyle="bold" />
  507.  
  508.  
  509. </LinearLayout>
  510.  
  511.  
  512.  
  513. </android.support.v4.widget.NestedScrollView>
  514.  
  515. </FrameLayout>
  516.  
  517.  
  518.  
  519.  
  520.  
  521. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement