Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.13 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="@color/white"
  7. android:id="@+id/coordinatorLayout"
  8. android:orientation="vertical">
  9.  
  10.  
  11. <!--<include-->
  12. <!--layout="@layout/header_layout_promodetail_2"/>-->
  13.  
  14. <include
  15. layout="@layout/error"/>
  16. <include
  17. layout="@layout/loading"/>
  18.  
  19.  
  20. <android.support.design.widget.AppBarLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content">
  23.  
  24. <android.support.design.widget.CollapsingToolbarLayout
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. app:contentScrim="@color/colorPrimaryDark"
  28. app:expandedTitleGravity="top"
  29. app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
  30.  
  31.  
  32. <LinearLayout
  33. android:id="@+id/liner_toolbar"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:background="@color/white"
  37. android:orientation="vertical">
  38.  
  39. <RelativeLayout
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content">
  42.  
  43. <ImageView
  44. android:id="@+id/image_center"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentStart="true"
  48. android:layout_marginBottom="@dimen/_1sdp"
  49. android:adjustViewBounds="true"
  50. android:scaleType="centerCrop"
  51. android:src="@color/grey"
  52. app:layout_collapseMode="parallax"
  53. app:layout_collapseParallaxMultiplier="0.5" />
  54.  
  55. <RelativeLayout
  56. android:layout_width="120dp"
  57. android:layout_height="150dp"
  58. android:layout_alignParentBottom="true">
  59.  
  60.  
  61. <ImageView
  62. android:id="@+id/logo_merchant"
  63. android:layout_width="120dp"
  64. android:layout_height="100dp"
  65. android:layout_marginBottom="20dp"
  66. android:layout_alignParentStart="true"
  67. android:layout_alignParentBottom="true"
  68. android:layout_marginStart="16dp"
  69. android:adjustViewBounds="false"
  70. android:scaleType="centerCrop"
  71. android:src="@color/grey"
  72. app:layout_collapseMode="parallax"
  73. app:layout_collapseParallaxMultiplier="0.5" />
  74.  
  75.  
  76. </RelativeLayout>
  77.  
  78.  
  79.  
  80.  
  81. <!--<ProgressBar-->
  82.  
  83. <!--android:id="@+id/progress_bar"-->
  84. <!--android:layout_width="wrap_content"-->
  85. <!--android:layout_height="wrap_content"-->
  86. <!--android:layout_centerInParent="true"/>-->
  87.  
  88. </RelativeLayout>
  89.  
  90.  
  91.  
  92. <LinearLayout
  93. android:visibility="gone"
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:orientation="horizontal">
  97.  
  98. <ImageView
  99. android:id="@+id/image1"
  100. android:layout_width="0dp"
  101. android:layout_weight="1"
  102. android:layout_height="@dimen/_50sdp"
  103. android:adjustViewBounds="true"
  104. android:scaleType="centerCrop"
  105. android:layout_marginEnd="@dimen/_1sdp"
  106. android:src="@color/grey"/>
  107.  
  108. <ImageView
  109. android:id="@+id/image2"
  110. android:layout_width="0dp"
  111. android:layout_weight="1"
  112. android:layout_height="@dimen/_50sdp"
  113. android:adjustViewBounds="true"
  114. android:scaleType="centerCrop"
  115. android:layout_marginEnd="@dimen/_1sdp"
  116. android:src="@color/grey"/>
  117.  
  118. <ImageView
  119. android:id="@+id/image3"
  120. android:layout_width="0dp"
  121. android:layout_weight="1"
  122. android:layout_height="@dimen/_50sdp"
  123. android:adjustViewBounds="true"
  124. android:scaleType="centerCrop"
  125. android:layout_marginEnd="@dimen/_1sdp"
  126. android:src="@color/grey"/>
  127.  
  128. <FrameLayout
  129. android:layout_width="0dp"
  130. android:layout_height="@dimen/_50sdp"
  131. android:layout_weight="1"
  132. android:alpha="0.5"
  133. android:background="@android:color/background_dark">
  134.  
  135. <ImageView
  136. android:id="@+id/image4"
  137. android:scaleType="centerCrop"
  138. android:adjustViewBounds="true"
  139. android:layout_width="match_parent"
  140. android:layout_height="match_parent" />
  141.  
  142. <TextView
  143. android:layout_width="match_parent"
  144. android:layout_gravity="center"
  145. android:layout_height="match_parent"
  146. android:alpha="0.5"
  147. android:background="@android:color/background_dark"
  148. android:gravity="center"
  149. android:text="See All Photos"
  150. android:fontFamily="@font/poppins_regular"
  151. android:textSize="@dimen/_8sdp"
  152. android:textColor="@android:color/white" />
  153. </FrameLayout>
  154. </LinearLayout>
  155. </LinearLayout>
  156.  
  157.  
  158. <android.support.v7.widget.Toolbar
  159. android:id="@+id/toolbar"
  160. android:layout_width="match_parent"
  161. android:layout_height="?attr/actionBarSize"
  162. android:layout_marginTop="@dimen/_20sdp"
  163. app:layout_collapseMode="pin">
  164.  
  165. <android.support.constraint.ConstraintLayout
  166. android:layout_width="match_parent"
  167. android:layout_height="match_parent"
  168. android:gravity="center_vertical"
  169. android:paddingLeft="0dp"
  170. android:paddingRight="0dp">
  171.  
  172. <ImageView
  173. android:id="@+id/iv_back"
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:src="@drawable/left_white"
  177. app:layout_constraintEnd_toEndOf="parent"
  178. app:layout_constraintHorizontal_bias="0.0"
  179. app:layout_constraintStart_toStartOf="parent"
  180. app:layout_constraintTop_toTopOf="parent"/>
  181.  
  182. <TextView
  183. android:id="@+id/tv_toolbar_title"
  184. android:layout_width="wrap_content"
  185. android:layout_height="wrap_content"
  186. android:layout_marginTop="8dp"
  187. android:layout_toStartOf="@+id/iv_back"
  188. android:layout_toEndOf="@+id/iv_back"
  189. android:ellipsize="end"
  190. android:fontFamily="@font/poppins_semibold"
  191. android:gravity="center"
  192. android:maxLines="1"
  193. android:minLines="1"
  194. android:paddingLeft="0dp"
  195. android:text=""
  196. android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
  197. android:textColor="@android:color/white"
  198. android:textSize="16sp"
  199. android:textStyle="bold"
  200. app:layout_constraintEnd_toEndOf="parent"
  201. app:layout_constraintHorizontal_bias="0.439"
  202. app:layout_constraintStart_toEndOf="@+id/iv_back"
  203. app:layout_constraintTop_toTopOf="parent"/>
  204.  
  205. </android.support.constraint.ConstraintLayout>
  206.  
  207.  
  208. </android.support.v7.widget.Toolbar>
  209. </android.support.design.widget.CollapsingToolbarLayout>
  210. </android.support.design.widget.AppBarLayout>
  211.  
  212.  
  213. <android.support.v4.widget.NestedScrollView
  214. android:layout_width="match_parent"
  215. android:layout_height="wrap_content"
  216. app:layout_behavior="android.support.design.widget.AppBarLayout$ScrollingViewBehavior">
  217.  
  218.  
  219. <LinearLayout
  220. android:id="@+id/liner_content"
  221. android:layout_width="match_parent"
  222. android:layout_height="wrap_content"
  223. android:orientation="vertical"
  224. android:layout_marginBottom="@dimen/_50sdp">
  225.  
  226. <LinearLayout
  227. android:layout_width="match_parent"
  228. android:layout_height="wrap_content"
  229. android:layout_marginHorizontal="@dimen/_15sdp"
  230. android:orientation="vertical">
  231.  
  232.  
  233. <LinearLayout
  234. android:layout_width="match_parent"
  235. android:layout_height="match_parent"
  236. android:layout_marginTop="10dp"
  237. android:background="@android:color/transparent"
  238. android:gravity="center_vertical"
  239. android:orientation="horizontal"
  240. android:padding="0dp">
  241.  
  242. <LinearLayout
  243. android:layout_width="match_parent"
  244. android:layout_height="wrap_content">
  245. <TextView
  246. android:id="@+id/store_name"
  247. android:layout_width="wrap_content"
  248. android:layout_height="wrap_content"
  249. android:layout_marginEnd="@dimen/_5sdp"
  250. android:text=""
  251. android:fontFamily="@font/poppins_medium"
  252. android:textStyle="bold" />
  253.  
  254. <android.support.v7.widget.AppCompatRatingBar
  255. style="@style/Widget.AppCompat.RatingBar.Small"
  256. android:id="@+id/rating"
  257. android:layout_width="wrap_content"
  258. android:layout_height="wrap_content"
  259. android:numStars="5"
  260. android:rating="3"
  261. android:layout_marginBottom="2dp"
  262. android:progressTint="@color/yellow"
  263. android:layout_gravity="center"/>
  264.  
  265.  
  266. </LinearLayout>
  267. </LinearLayout>
  268. <LinearLayout
  269. android:layout_width="match_parent"
  270. android:layout_height="match_parent"
  271. android:layout_marginTop="10dp"
  272. android:background="@android:color/transparent"
  273. android:gravity="center_vertical"
  274. android:orientation="horizontal"
  275. android:padding="0dp">
  276.  
  277. <RelativeLayout
  278. android:layout_width="match_parent"
  279. android:layout_height="wrap_content"
  280. android:padding="0dp">
  281.  
  282.  
  283. <android.support.v7.widget.RecyclerView
  284. android:id="@+id/rv_list_category"
  285. android:layout_width="match_parent"
  286. android:layout_height="match_parent"
  287. android:nestedScrollingEnabled="false"/>
  288.  
  289.  
  290.  
  291. <!--<TextView-->
  292. <!--android:id="@+id/tv_name_category"-->
  293. <!--android:layout_width="wrap_content"-->
  294. <!--android:layout_height="wrap_content"-->
  295. <!--android:background="@drawable/btn_border_catg"-->
  296. <!--android:fontFamily="@font/poppins_regular"-->
  297. <!--android:paddingStart="15dp"-->
  298. <!--android:paddingTop="5dp"-->
  299. <!--android:paddingEnd="15dp"-->
  300. <!--android:paddingBottom="5dp"-->
  301. <!--android:text=""-->
  302. <!--android:textColor="@color/dot_dark_screen2"-->
  303. <!--android:textSize="13sp" />-->
  304.  
  305. <TextView
  306. android:visibility="gone"
  307. android:id="@+id/tv_value"
  308. android:layout_width="wrap_content"
  309. android:layout_height="wrap_content"
  310. android:layout_alignTop="@+id/tv_name_category"
  311. android:layout_alignBottom="@+id/tv_name_category"
  312. android:fontFamily="@font/poppins_regular"
  313. android:layout_alignParentEnd="true"
  314. android:layout_marginStart="10dp"
  315. android:layout_marginEnd="10dp"
  316. android:gravity="center_vertical"
  317. android:src="@drawable/ic_star"
  318. android:text=""
  319. android:textColor="@color/dot_dark_screen2"
  320. android:textSize="21sp"
  321. android:textStyle="bold" />
  322.  
  323. </RelativeLayout>
  324. </LinearLayout>
  325.  
  326. <LinearLayout
  327. android:layout_width="match_parent"
  328. android:layout_height="match_parent"
  329. android:layout_marginTop="10dp"
  330. android:background="@android:color/transparent"
  331. android:gravity="center_vertical"
  332. android:orientation="horizontal"
  333. android:padding="0dp">
  334.  
  335. <RelativeLayout
  336. android:layout_width="match_parent"
  337. android:layout_height="wrap_content"
  338. android:layout_marginStart="0dp"
  339. android:layout_marginEnd="0dp"
  340. android:padding="0dp">
  341.  
  342. <TextView
  343. android:id="@+id/tv_address"
  344. android:layout_width="wrap_content"
  345. android:layout_height="wrap_content"
  346. android:layout_alignParentTop="true"
  347. android:layout_marginTop="0dp"
  348. android:fontFamily="@font/poppins_medium"
  349. android:text=""
  350. android:textColor="@color/half_black"
  351. android:textSize="13sp" />
  352.  
  353. <TextView
  354. android:visibility="gone"
  355. android:id="@+id/tv_value_catg"
  356. android:layout_width="wrap_content"
  357. android:layout_height="wrap_content"
  358. android:layout_alignTop="@+id/tv_address"
  359. android:layout_alignBottom="@+id/tv_address"
  360. android:fontFamily="@font/poppins_regular"
  361. android:layout_alignParentEnd="true"
  362. android:layout_marginStart="10dp"
  363. android:layout_marginEnd="10dp"
  364. android:gravity="center_vertical"
  365. android:text=""
  366. android:textColor="@color/dot_dark_screen2"
  367. android:textSize="14sp"
  368. android:textStyle="bold" />
  369.  
  370. </RelativeLayout>
  371. </LinearLayout>
  372.  
  373. <LinearLayout
  374. android:layout_width="match_parent"
  375. android:layout_height="match_parent"
  376. android:layout_marginTop="10dp"
  377. android:background="@android:color/transparent"
  378. android:gravity="center_vertical"
  379. android:orientation="horizontal"
  380. android:padding="0dp">
  381.  
  382. <RelativeLayout
  383. android:layout_width="match_parent"
  384. android:layout_height="wrap_content"
  385. android:layout_marginStart="0dp"
  386. android:layout_marginEnd="0dp"
  387. android:padding="0dp">
  388.  
  389. <TextView
  390. android:id="@+id/text_location"
  391. android:layout_width="wrap_content"
  392. android:layout_height="wrap_content"
  393. android:layout_alignParentTop="true"
  394. android:layout_marginTop="0dp"
  395. android:fontFamily="@font/poppins_medium"
  396. android:text="Location"
  397. android:textColor="@color/half_black"
  398. android:textSize="13sp" />
  399.  
  400. <TextView
  401. android:id="@+id/tv_location"
  402. android:layout_width="wrap_content"
  403. android:layout_height="wrap_content"
  404. android:layout_alignTop="@+id/text_location"
  405. android:layout_alignBottom="@+id/text_location"
  406. android:fontFamily="@font/poppins_regular"
  407. android:layout_alignParentEnd="true"
  408. android:layout_marginStart="10dp"
  409. android:layout_marginEnd="10dp"
  410. android:gravity="center_vertical"
  411. android:text=""
  412. android:textColor="@color/dot_dark_screen2"
  413. android:textSize="14sp"
  414. android:textStyle="bold" />
  415.  
  416. </RelativeLayout>
  417. </LinearLayout>
  418.  
  419. <LinearLayout
  420. android:layout_width="match_parent"
  421. android:layout_height="match_parent"
  422. android:layout_marginTop="10dp"
  423. android:background="@android:color/transparent"
  424. android:gravity="center_vertical"
  425. android:orientation="horizontal"
  426. android:padding="0dp">
  427.  
  428. <RelativeLayout
  429. android:layout_width="match_parent"
  430. android:layout_height="wrap_content"
  431. android:layout_marginStart="0dp"
  432. android:layout_marginEnd="0dp"
  433. android:padding="0dp">
  434.  
  435. <TextView
  436. android:id="@+id/text_phone"
  437. android:layout_width="wrap_content"
  438. android:layout_height="wrap_content"
  439. android:layout_alignParentTop="true"
  440. android:layout_marginTop="0dp"
  441. android:fontFamily="@font/poppins_medium"
  442. android:text="Phone"
  443. android:textColor="@color/half_black"
  444. android:textSize="13sp" />
  445.  
  446. <TextView
  447. android:id="@+id/tv_phone_numb"
  448. android:layout_width="wrap_content"
  449. android:layout_height="wrap_content"
  450. android:layout_alignTop="@+id/text_phone"
  451. android:layout_alignBottom="@+id/text_phone"
  452. android:fontFamily="@font/poppins_regular"
  453. android:layout_alignParentEnd="true"
  454. android:layout_marginStart="10dp"
  455. android:layout_marginEnd="10dp"
  456. android:gravity="center_vertical"
  457. android:clickable="true"
  458. android:text="0873636363728"
  459. android:textColor="@color/dot_dark_screen2"
  460. android:textSize="14sp"
  461. android:textStyle="bold" />
  462.  
  463. </RelativeLayout>
  464. </LinearLayout>
  465.  
  466. <LinearLayout
  467. android:visibility="gone"
  468. android:layout_width="match_parent"
  469. android:layout_height="match_parent"
  470. android:layout_marginTop="30dp"
  471. android:background="@android:color/transparent"
  472. android:gravity="center_vertical"
  473. android:orientation="horizontal"
  474. android:padding="5dp">
  475.  
  476. <LinearLayout
  477. android:layout_width="match_parent"
  478. android:layout_height="match_parent"
  479. android:orientation="vertical">
  480.  
  481. <TextView
  482. android:id="@+id/tv_title_review"
  483. android:layout_width="match_parent"
  484. android:layout_height="match_parent"
  485. android:gravity="center"
  486. android:fontFamily="@font/poppins_italic"
  487. android:text="Guest talked about comfortable place"
  488. android:textColor="@color/grey500"
  489. android:textSize="12sp" />
  490.  
  491. </LinearLayout>
  492. </LinearLayout>
  493.  
  494.  
  495.  
  496.  
  497. <LinearLayout
  498. android:visibility="gone"
  499. android:id="@+id/card_viewslider"
  500. android:layout_width="match_parent"
  501. android:layout_height="wrap_content"
  502. android:orientation="horizontal"
  503. android:layout_margin="0dp">
  504. <RelativeLayout
  505. android:id="@+id/rvPromoBanner"
  506. android:layout_width="match_parent"
  507. android:layout_height="match_parent">
  508.  
  509. <!--<FrameLayout-->
  510. <!--android:layout_width="match_parent"-->
  511. <!--android:layout_height="match_parent">-->
  512.  
  513. <!--<android.support.v4.view.ViewPager-->
  514. <!--android:id="@+id/viewPager"-->
  515. <!--android:layout_width="wrap_content"-->
  516. <!--android:layout_height="match_parent" />-->
  517.  
  518. <android.support.v7.widget.RecyclerView
  519. android:id="@+id/rv_testimonial"
  520. android:layout_width="match_parent"
  521. android:layout_height="match_parent"
  522. android:layout_alignStart="@+id/previous"
  523. android:layout_alignEnd="@+id/next"
  524. android:nestedScrollingEnabled="false">
  525.  
  526. </android.support.v7.widget.RecyclerView>
  527.  
  528. <!--</FrameLayout>-->
  529.  
  530.  
  531.  
  532. <ImageView
  533. android:id="@+id/next"
  534. android:layout_width="wrap_content"
  535. android:layout_height="wrap_content"
  536. android:background="@drawable/ic_chevron_right"
  537. android:layout_marginEnd="0dp"
  538. android:backgroundTint="@color/yellow"
  539. android:layout_centerInParent="true"
  540. android:layout_alignParentRight="true"
  541. android:layout_alignParentEnd="true"/>
  542.  
  543. <ImageView
  544. android:id="@+id/previous"
  545. android:layout_width="wrap_content"
  546. android:layout_height="wrap_content"
  547. android:layout_marginStart="0dp"
  548. android:backgroundTint="@color/yellow"
  549. android:background="@drawable/ic_chevron_left"
  550. android:layout_alignParentLeft="true"
  551. android:layout_centerInParent="true"
  552. android:layout_alignParentStart="true"
  553. android:layout_alignTop="@+id/next"/>
  554.  
  555. </RelativeLayout>
  556. <!--</LinearLayout>-->
  557. <!--</LinearLayout>-->
  558. </LinearLayout>
  559.  
  560.  
  561. <!--<LinearLayout-->
  562. <!--android:layout_width="match_parent"-->
  563. <!--android:layout_height="match_parent"-->
  564. <!--android:layout_marginTop="0dp"-->
  565. <!--android:background="@android:color/transparent"-->
  566. <!--android:gravity="center_vertical"-->
  567. <!--android:orientation="horizontal"-->
  568. <!--android:padding="5dp">-->
  569.  
  570. <!--<LinearLayout-->
  571. <!--android:layout_width="match_parent"-->
  572. <!--android:layout_height="match_parent"-->
  573. <!--android:orientation="vertical">-->
  574.  
  575. <!--<TextView-->
  576. <!--android:id="@+id/tv_name_review"-->
  577. <!--android:layout_width="match_parent"-->
  578. <!--android:layout_height="match_parent"-->
  579. <!--android:gravity="center"-->
  580. <!--android:text="H.Saeb Riyadh"-->
  581. <!--android:textColor="@color/grey500"-->
  582. <!--android:textSize="13sp"-->
  583. <!--android:textStyle="bold" />-->
  584.  
  585. <!--</LinearLayout>-->
  586. <!--</LinearLayout>-->
  587.  
  588. <LinearLayout
  589. android:layout_width="match_parent"
  590. android:layout_height="match_parent"
  591. android:layout_marginTop="0dp"
  592. android:background="@android:color/transparent"
  593. android:gravity="center_vertical"
  594. android:orientation="horizontal"
  595. android:padding="10dp">
  596.  
  597. <LinearLayout
  598. android:visibility="gone"
  599. android:layout_width="match_parent"
  600. android:layout_height="match_parent"
  601. android:orientation="vertical">
  602.  
  603. <TextView
  604. android:id="@+id/tv_notice"
  605. android:layout_width="match_parent"
  606. android:layout_height="match_parent"
  607. android:gravity="center"
  608. android:fontFamily="@font/poppins_regular"
  609. android:text="Description"
  610. android:textColor="@android:color/black"
  611. android:textSize="14sp"
  612. android:textStyle="bold" />
  613.  
  614. </LinearLayout>
  615. </LinearLayout>
  616.  
  617.  
  618.  
  619. <LinearLayout
  620. android:layout_width="match_parent"
  621. android:layout_height="match_parent"
  622. android:layout_marginStart="0dp"
  623. android:layout_marginTop="0dp"
  624. android:layout_marginEnd="0dp"
  625. android:background="@android:color/transparent"
  626. android:orientation="horizontal"
  627. android:padding="0dp">
  628.  
  629. <LinearLayout
  630. android:layout_width="match_parent"
  631. android:layout_height="wrap_content"
  632. android:orientation="vertical">
  633.  
  634. <TextView
  635. android:id="@+id/description"
  636. android:layout_width="wrap_content"
  637. android:layout_height="wrap_content"
  638. android:fontFamily="@font/poppins_regular"
  639. android:text=""
  640. android:autoLink="web"
  641. android:textColor="@color/black_semi_transparent"
  642. android:textSize="13sp" />
  643.  
  644. <Button
  645. android:visibility="gone"
  646. android:id="@+id/view_more"
  647. android:layout_width="wrap_content"
  648. android:layout_height="wrap_content"
  649. android:layout_gravity="center"
  650. android:background="?attr/selectableItemBackgroundBorderless"
  651. android:fontFamily="@font/poppins_medium"
  652. android:minHeight="@dimen/_5sdp"
  653. android:textSize="12sp"
  654. android:text="View More"
  655. android:textAllCaps="false"
  656. android:textColor="#f3a953"/>
  657.  
  658. </LinearLayout>
  659. </LinearLayout>
  660.  
  661. <LinearLayout
  662. android:id="@+id/liner_promoby"
  663. android:layout_width="wrap_content"
  664. android:layout_height="wrap_content"
  665. android:orientation="horizontal">
  666.  
  667. <RelativeLayout
  668. android:layout_width="match_parent"
  669. android:layout_height="wrap_content"
  670. android:padding="0dp"
  671. android:layout_marginTop="0dp"
  672. android:layout_marginStart="0dp"
  673. android:layout_marginEnd="0dp">
  674.  
  675. <TextView
  676. android:id="@+id/tv_promo_by"
  677. android:layout_width="wrap_content"
  678. android:layout_height="wrap_content"
  679. android:text=""
  680. android:textStyle="bold"
  681. android:fontFamily="@font/poppins_light"
  682. android:textColor="@android:color/black"
  683. android:textSize="13sp" />
  684.  
  685. <View
  686. android:layout_width="35dp"
  687. android:layout_height="3dp"
  688. android:layout_marginTop="20dp"
  689. android:layout_marginBottom="10dp"
  690. android:background="@color/colorPrimaryDark" />
  691.  
  692. </RelativeLayout>
  693. </LinearLayout>
  694.  
  695. <LinearLayout
  696. android:layout_width="match_parent"
  697. android:layout_height="wrap_content"
  698. android:layout_marginTop="0dp"
  699. android:layout_marginBottom="0dp"
  700. android:background="@android:color/white"
  701. android:gravity="center_vertical"
  702. android:orientation="horizontal"
  703. android:padding="0dp">
  704.  
  705.  
  706. <android.support.v7.widget.RecyclerView
  707. android:id="@+id/rv_list_promo"
  708. android:layout_width="match_parent"
  709. android:layout_height="match_parent"
  710. android:nestedScrollingEnabled="false">
  711.  
  712. </android.support.v7.widget.RecyclerView>
  713. </LinearLayout>
  714.  
  715. </LinearLayout>
  716.  
  717. </LinearLayout>
  718.  
  719. </android.support.v4.widget.NestedScrollView>
  720.  
  721. <FrameLayout
  722. android:id="@+id/frame_button"
  723. android:layout_width="match_parent"
  724. android:layout_height="wrap_content"
  725. android:nestedScrollingEnabled="false"
  726. android:background="?attr/selectableItemBackgroundBorderless"
  727. android:layout_gravity="bottom">
  728.  
  729. <Button
  730. android:visibility="gone"
  731. android:id="@+id/btn_get_voucher"
  732. android:layout_width="match_parent"
  733. android:layout_height="match_parent"
  734. android:layout_gravity="center_horizontal"
  735. android:layout_marginStart="20dp"
  736. android:layout_marginEnd="20dp"
  737. android:layout_marginTop="10dp"
  738. android:layout_marginBottom="20dp"
  739. android:background="@drawable/btn_change"
  740. android:paddingStart="40dp"
  741. android:paddingEnd="40dp"
  742. android:text="GET VOUCHER"
  743. android:fontFamily="@font/poppins_medium"
  744. android:textAllCaps="false"
  745. android:textColor="@android:color/white"
  746. android:textSize="13sp"
  747. android:textStyle="bold" />
  748.  
  749. </FrameLayout>
  750.  
  751.  
  752. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement