Advertisement
ricky_yulianto

Untitled

Jul 26th, 2019
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.24 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout 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.  
  7. <android.support.v7.widget.Toolbar
  8. android:id="@+id/toolbar"
  9. android:layout_width="match_parent"
  10. android:layout_height="?attr/actionBarSize"
  11. android:background="@android:color/white"
  12. android:layout_marginTop="0dp"
  13. app:contentInsetLeft="0dp"
  14. app:contentInsetStart="0dp"
  15. app:layout_constraintEnd_toEndOf="parent"
  16. app:layout_constraintStart_toStartOf="parent"
  17. app:layout_constraintTop_toTopOf="parent">
  18.  
  19. <RelativeLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="match_parent"
  22. android:gravity="center_vertical"
  23. android:paddingLeft="@dimen/activity_horizontal_margin"
  24. android:paddingRight="@dimen/activity_horizontal_margin">
  25.  
  26. <ImageView
  27. android:id="@+id/iv_back"
  28. android:layout_width="40dp"
  29. android:layout_height="150dp"
  30. android:layout_alignParentTop="true"
  31. android:src="@drawable/ic_chevron_left"
  32. android:tint="@android:color/black" />
  33.  
  34. <TextView
  35. android:id="@+id/tv_toolbar_title"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_alignParentTop="true"
  39. android:layout_centerInParent="true"
  40. android:layout_centerHorizontal="true"
  41. android:layout_marginTop="17dp"
  42. android:text="What's On"
  43. android:fontFamily="@font/poppins_semibold"
  44. android:textColor="@android:color/black"
  45. android:textSize="16sp"
  46. />
  47.  
  48. </RelativeLayout>
  49.  
  50. </android.support.v7.widget.Toolbar>
  51.  
  52. <include layout="@layout/error"/>
  53. <include layout="@layout/loading"/>
  54.  
  55.  
  56. <FrameLayout
  57. android:id="@+id/container_content"
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  61.  
  62.  
  63. <android.support.v4.widget.NestedScrollView
  64. android:id="@+id/scrollView"
  65. android:layout_width="match_parent"
  66. android:layout_height="0dp"
  67. app:layout_constraintBottom_toBottomOf="parent"
  68. app:layout_constraintEnd_toEndOf="parent"
  69. app:layout_constraintStart_toStartOf="parent"
  70. app:layout_constraintTop_toBottomOf="@+id/toolbar">
  71.  
  72.  
  73. <android.support.constraint.ConstraintLayout
  74. android:layout_width="match_parent"
  75. android:layout_height="match_parent">
  76.  
  77.  
  78. <!--<android.support.v7.widget.CardView-->
  79. <!--android:id="@+id/card_totalPay"-->
  80. <!--android:layout_width="0dp"-->
  81. <!--android:layout_height="wrap_content"-->
  82. <!--android:layout_marginTop="16dp"-->
  83. <!--android:layout_marginEnd="16dp"-->
  84. <!--android:layout_marginStart="16dp"-->
  85. <!--app:layout_constraintEnd_toEndOf="parent"-->
  86. <!--app:layout_constraintStart_toStartOf="parent"-->
  87. <!--app:layout_constraintTop_toTopOf="parent">-->
  88.  
  89. <!--<RelativeLayout-->
  90. <!--android:id="@+id/relative_search"-->
  91. <!--android:layout_width="match_parent"-->
  92. <!--android:layout_height="wrap_content"-->
  93. <!--android:padding="10dp"-->
  94. <!--app:layout_constraintEnd_toEndOf="parent"-->
  95. <!--app:layout_constraintStart_toStartOf="parent"-->
  96. <!--app:layout_constraintTop_toTopOf="parent">-->
  97.  
  98. <!--<SearchView-->
  99. <!--android:id="@+id/searchView"-->
  100. <!--android:layout_width="match_parent"-->
  101. <!--android:queryBackground="@android:color/transparent"-->
  102. <!--android:layout_height="?attr/actionBarSize"-->
  103. <!--android:iconifiedByDefault="false"-->
  104. <!--android:queryHint="Search my voucher!" />-->
  105.  
  106. <!--</RelativeLayout>-->
  107.  
  108. <LinearLayout
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:layout_marginTop="0dp"
  112. android:background="@android:color/white"
  113. android:gravity="center_vertical"
  114. android:orientation="horizontal"
  115. android:padding="10dp"
  116. app:layout_constraintEnd_toEndOf="@+id/relative_search"
  117. app:layout_constraintStart_toStartOf="@+id/relative_search"
  118. app:layout_constraintTop_toBottomOf="@+id/relative_search">
  119.  
  120.  
  121. <android.support.v7.widget.RecyclerView
  122. android:id="@+id/rv_list_promo_merchant"
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:nestedScrollingEnabled="false">
  126.  
  127. </android.support.v7.widget.RecyclerView>
  128. </LinearLayout>
  129. <!--</android.support.v7.widget.CardView>-->
  130.  
  131. <!--<android.support.v7.widget.CardView-->
  132. <!--android:id="@+id/card_last_payment"-->
  133. <!--android:layout_width="0dp"-->
  134. <!--android:layout_height="wrap_content"-->
  135. <!--android:layout_marginTop="1dp"-->
  136. <!--android:layout_marginEnd="1dp"-->
  137. <!--android:layout_marginStart="1dp"-->
  138. <!--app:layout_constraintEnd_toEndOf="@+id/relative_search"-->
  139. <!--app:layout_constraintStart_toStartOf="@+id/relative_search"-->
  140. <!--app:layout_constraintTop_toBottomOf="@+id/relative_search">-->
  141.  
  142. <!--<android.support.constraint.ConstraintLayout-->
  143. <!--android:layout_width="match_parent"-->
  144. <!--android:layout_height="wrap_content"-->
  145. <!--android:padding="8dp">-->
  146.  
  147. <!--<TextView-->
  148. <!--android:visibility="gone"-->
  149. <!--android:id="@+id/tv_last_payment"-->
  150. <!--android:layout_width="wrap_content"-->
  151. <!--android:layout_height="wrap_content"-->
  152. <!--android:text="The last payment used"-->
  153. <!--android:textSize="13sp"-->
  154. <!--android:textColor="@color/grey500"-->
  155. <!--app:layout_constraintStart_toStartOf="parent"-->
  156. <!--app:layout_constraintTop_toTopOf="parent"/>-->
  157.  
  158. <!--&lt;!&ndash;<android.support.v7.widget.RecyclerView&ndash;&gt;-->
  159. <!--&lt;!&ndash;android:id="@+id/rvLastPayment"&ndash;&gt;-->
  160. <!--&lt;!&ndash;android:layout_width="match_parent"&ndash;&gt;-->
  161. <!--&lt;!&ndash;android:layout_height="0dp"&ndash;&gt;-->
  162. <!--&lt;!&ndash;android:layout_marginTop="16dp"&ndash;&gt;-->
  163. <!--&lt;!&ndash;app:layout_constraintEnd_toEndOf="parent"&ndash;&gt;-->
  164. <!--&lt;!&ndash;app:layout_constraintStart_toStartOf="parent"&ndash;&gt;-->
  165. <!--&lt;!&ndash;app:layout_constraintTop_toBottomOf="@+id/tv_last_payment" />&ndash;&gt;-->
  166.  
  167.  
  168.  
  169. <!--<LinearLayout-->
  170. <!--android:layout_width="match_parent"-->
  171. <!--android:layout_height="wrap_content"-->
  172. <!--android:padding="0dp"-->
  173. <!--android:layout_marginTop="6dp"-->
  174. <!--android:orientation="vertical"-->
  175. <!--app:layout_constraintEnd_toEndOf="parent"-->
  176. <!--app:layout_constraintStart_toStartOf="parent"-->
  177. <!--app:layout_constraintTop_toBottomOf="@+id/tv_last_payment">-->
  178.  
  179. <!--<android.support.constraint.ConstraintLayout-->
  180. <!--android:layout_width="match_parent"-->
  181. <!--android:layout_height="wrap_content"-->
  182. <!--android:layout_margin="5dp">-->
  183.  
  184. <!--<ImageView-->
  185. <!--android:id="@+id/imgCard"-->
  186. <!--android:layout_width="90dp"-->
  187. <!--android:layout_height="50dp"-->
  188. <!--android:scaleType="centerCrop"-->
  189. <!--android:src="@drawable/kintan_bufet"-->
  190. <!--app:layout_constraintBottom_toBottomOf="parent"-->
  191. <!--app:layout_constraintStart_toStartOf="parent"-->
  192. <!--app:layout_constraintTop_toTopOf="parent" />-->
  193.  
  194. <!--<TextView-->
  195. <!--android:id="@+id/btn_right"-->
  196. <!--android:layout_width="0dp"-->
  197. <!--android:layout_height="wrap_content"-->
  198. <!--android:layout_marginTop="5dp"-->
  199. <!--android:layout_marginEnd="5dp"-->
  200. <!--android:padding="0dp"-->
  201. <!--android:text="8.3"-->
  202. <!--android:textStyle="bold"-->
  203. <!--android:textSize="13sp"-->
  204. <!--android:textColor="@color/white"-->
  205. <!--android:paddingStart="10dp"-->
  206. <!--android:paddingEnd="10dp"-->
  207. <!--android:background="@drawable/btn_register"-->
  208. <!--app:layout_constraintEnd_toEndOf="parent"-->
  209. <!--app:layout_constraintTop_toTopOf="parent" />-->
  210.  
  211. <!--<TextView-->
  212. <!--android:id="@+id/tv_name_merchant"-->
  213. <!--android:layout_width="0dp"-->
  214. <!--android:layout_height="wrap_content"-->
  215. <!--android:layout_marginStart="18dp"-->
  216. <!--android:layout_marginTop="5dp"-->
  217. <!--android:layout_marginEnd="8dp"-->
  218. <!--android:text="Kintan Buffet"-->
  219. <!--android:textColor="@android:color/black"-->
  220. <!--android:textSize="14sp"-->
  221. <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
  222. <!--app:layout_constraintTop_toTopOf="parent" />-->
  223.  
  224. <!--<TextView-->
  225. <!--android:id="@+id/tv_desc"-->
  226. <!--android:layout_width="0dp"-->
  227. <!--android:layout_height="wrap_content"-->
  228. <!--android:layout_marginStart="18dp"-->
  229. <!--android:layout_marginTop="5dp"-->
  230. <!--android:text="Lorem Ipsum, Ambarrukmo Plaza"-->
  231. <!--android:textColor="@color/grey500"-->
  232. <!--android:textSize="13sp"-->
  233. <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
  234. <!--app:layout_constraintTop_toBottomOf="@+id/tv_name_merchant" />-->
  235.  
  236. <!--<TextView-->
  237. <!--android:id="@+id/tv_name_method"-->
  238. <!--android:layout_width="0dp"-->
  239. <!--android:layout_height="wrap_content"-->
  240. <!--android:layout_marginTop="7dp"-->
  241. <!--android:layout_marginStart="18dp"-->
  242. <!--android:text="CUISINES: Grill, Japanese"-->
  243. <!--android:textColor="@android:color/black"-->
  244. <!--android:textSize="13sp"-->
  245. <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
  246. <!--app:layout_constraintTop_toBottomOf="@+id/tv_desc" />-->
  247.  
  248.  
  249.  
  250. <!--</android.support.constraint.ConstraintLayout>-->
  251. <!--</LinearLayout>-->
  252.  
  253.  
  254.  
  255.  
  256. <!--</android.support.constraint.ConstraintLayout>-->
  257.  
  258. <!--</android.support.v7.widget.CardView>-->
  259.  
  260.  
  261.  
  262.  
  263.  
  264. </android.support.constraint.ConstraintLayout>
  265. </android.support.v4.widget.NestedScrollView>
  266.  
  267. </FrameLayout>
  268.  
  269. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement