Advertisement
Guest User

cek2

a guest
Jul 20th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.13 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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/ll"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="#fcfcfc"
  9. android:gravity="center"
  10. android:orientation="vertical"
  11. tools:context=".home">
  12.  
  13. <ScrollView
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent">
  16.  
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent"
  20. android:orientation="vertical">
  21.  
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:clipToPadding="false"
  26. android:gravity="center"
  27. android:orientation="horizontal">
  28.  
  29. <android.support.v7.widget.CardView
  30. android:layout_width="160dp"
  31. android:layout_height="190dp"
  32. android:layout_margin="10dp"
  33. android:clickable="true"
  34. android:foreground="?android:attr/selectableItemBackground">
  35.  
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="match_parent"
  39. android:gravity="center"
  40. android:orientation="vertical">
  41.  
  42. <ImageView
  43. android:layout_width="64dp"
  44. android:layout_height="64dp"
  45. android:background="@drawable/background"
  46. android:padding="10dp"
  47. android:src="@drawable/star" />
  48.  
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginTop="10dp"
  53. android:text="Add"
  54. android:textStyle="bold" />
  55.  
  56. <View
  57. android:layout_width="match_parent"
  58. android:layout_height="1dp"
  59. android:layout_margin="10dp"
  60. android:background="@color/lightgray" />
  61.  
  62. <TextView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:gravity="center"
  66. android:padding="5dp"
  67. android:text="Check your bank activities"
  68. android:textColor="@android:color/darker_gray" />
  69.  
  70. </LinearLayout>
  71. </android.support.v7.widget.CardView>
  72.  
  73. <android.support.v7.widget.CardView
  74. android:layout_width="160dp"
  75. android:layout_height="190dp"
  76. android:layout_margin="10dp"
  77. android:clickable="true"
  78. android:foreground="?android:attr/selectableItemBackground">
  79.  
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="match_parent"
  83. android:gravity="center"
  84. android:orientation="vertical">
  85.  
  86. <ImageView
  87. android:layout_width="64dp"
  88. android:layout_height="64dp"
  89.  
  90. android:background="@drawable/background"
  91.  
  92. android:padding="10dp"
  93. android:src="@drawable/star" />
  94.  
  95. <TextView
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_marginTop="10dp"
  99. android:text="Links"
  100. android:textStyle="bold" />
  101.  
  102. <View
  103. android:layout_width="match_parent"
  104. android:layout_height="1dp"
  105. android:layout_margin="10dp"
  106. android:background="@color/lightgray" />
  107.  
  108. <TextView
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:gravity="center"
  112. android:padding="5dp"
  113. android:text="Check your bank activities"
  114. android:textColor="@android:color/darker_gray" />
  115.  
  116. </LinearLayout>
  117. </android.support.v7.widget.CardView>
  118.  
  119. </LinearLayout>
  120.  
  121.  
  122. <LinearLayout
  123. android:layout_width="match_parent"
  124. android:layout_height="wrap_content"
  125. android:orientation="vertical">
  126. <TextView
  127. android:layout_width="match_parent"
  128. android:layout_height="wrap_content"
  129. android:padding="5dp"
  130. android:textStyle="bold"
  131. android:text="Track and Rate Yours Product"/>
  132.  
  133. <View android:layout_width="match_parent"
  134. android:layout_height="2dp"
  135. android:padding="5dp"
  136. android:background="#bbb"/>
  137.  
  138. </LinearLayout>
  139.  
  140.  
  141. <LinearLayout
  142. android:layout_width="match_parent"
  143. android:layout_height="wrap_content"
  144. android:baselineAligned="false"
  145. android:clipToPadding="false"
  146. android:gravity="left"
  147. android:orientation="horizontal">
  148.  
  149. <LinearLayout
  150. android:layout_width="wrap_content"
  151. android:layout_height="wrap_content"
  152. android:layout_margin="10dp"
  153. android:orientation="vertical"
  154. android:padding="5dp"
  155. android:gravity="center"
  156. android:background="?attr/selectableItemBackground"
  157. android:clickable="true">
  158. <ImageView
  159. android:layout_width="wrap_content"
  160. android:layout_height="wrap_content"
  161. android:background="@drawable/background"
  162. android:padding="10dp"
  163. android:src="@drawable/star" />
  164. <TextView
  165. android:layout_width="wrap_content"
  166. android:layout_height="match_parent"
  167. android:gravity="center"
  168. android:layout_marginTop="10dp"
  169. android:text="Daily Track"/>
  170. </LinearLayout>
  171.  
  172.  
  173. <LinearLayout
  174. android:layout_width="wrap_content"
  175. android:layout_height="wrap_content"
  176. android:layout_margin="10dp"
  177. android:orientation="vertical"
  178. android:padding="5dp"
  179. android:gravity="center"
  180. android:background="?attr/selectableItemBackground"
  181. android:clickable="true">
  182. <ImageView
  183. android:layout_width="wrap_content"
  184. android:layout_height="wrap_content"
  185. android:background="@drawable/background"
  186. android:padding="10dp"
  187. android:src="@drawable/star" />
  188. <TextView
  189. android:layout_width="wrap_content"
  190. android:layout_height="match_parent"
  191. android:gravity="center"
  192. android:layout_marginTop="10dp"
  193. android:text="E-Rate"/>
  194. </LinearLayout>
  195.  
  196. <LinearLayout
  197. android:layout_width="wrap_content"
  198. android:layout_height="wrap_content"
  199. android:layout_margin="10dp"
  200. android:orientation="vertical"
  201. android:padding="5dp"
  202. android:gravity="center"
  203. android:background="?attr/selectableItemBackground"
  204. android:clickable="true">
  205. <ImageView
  206. android:layout_width="wrap_content"
  207. android:layout_height="wrap_content"
  208. android:background="@drawable/background"
  209. android:padding="10dp"
  210. android:src="@drawable/star" />
  211. <TextView
  212. android:layout_width="wrap_content"
  213. android:layout_height="match_parent"
  214. android:gravity="center"
  215. android:layout_marginTop="10dp"
  216. android:text="Login"/>
  217. </LinearLayout>
  218.  
  219. </LinearLayout>
  220.  
  221. <!-- Others Services -->
  222.  
  223. <LinearLayout
  224. android:layout_width="match_parent"
  225. android:layout_height="wrap_content"
  226. android:orientation="vertical">
  227. <TextView
  228. android:layout_width="match_parent"
  229. android:layout_height="wrap_content"
  230. android:padding="5dp"
  231. android:textStyle="bold"
  232. android:text="Others Services"/>
  233.  
  234. <View android:layout_width="match_parent"
  235. android:layout_height="2dp"
  236. android:padding="5dp"
  237. android:background="#bbb"/>
  238. <android.support.v7.widget.RecyclerView
  239. android:layout_width="match_parent"
  240. android:layout_height="match_parent">
  241.  
  242. <android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
  243. android:layout_width="match_parent"
  244. android:layout_height="100dp"
  245. android:layout_margin="4dp"
  246. card_view:cardBackgroundColor="@color/background_material_light"
  247. card_view:cardCornerRadius="3dp"
  248. card_view:cardElevation="2.5dp">
  249.  
  250. <RelativeLayout
  251. android:layout_width="match_parent"
  252. android:layout_height="wrap_content"
  253. android:padding="3dp">
  254.  
  255. <ImageView
  256. android:layout_width="wrap_content"
  257. android:layout_height="wrap_content"
  258. android:layout_alignParentBottom="true"
  259. android:layout_alignParentTop="true"
  260. android:layout_marginRight="6dip"
  261. android:contentDescription="TODO"
  262. android:src="@mipmap/ic_launcher" />
  263.  
  264. <TextView
  265. android:layout_width="fill_parent"
  266. android:layout_height="wrap_content"
  267. android:layout_alignParentBottom="true"
  268. android:layout_alignParentRight="true"
  269. android:ellipsize="marquee"
  270. android:singleLine="true"
  271. android:text="Description"
  272. android:textColor="@color/secondary_text_default_material_light"
  273. android:textSize="12sp" />
  274.  
  275. <TextView
  276. android:layout_width="wrap_content"
  277. android:layout_height="wrap_content"
  278. android:layout_alignParentRight="true"
  279. android:layout_alignParentTop="true"
  280. android:layout_alignWithParentIfMissing="true"
  281. android:gravity="center_vertical"
  282. android:text="Example application"
  283. android:textColor="@color/primary_text_default_material_light"
  284. android:textSize="16sp" />
  285. </RelativeLayout>
  286.  
  287. </android.support.v7.widget.CardView>
  288.  
  289.  
  290. </android.support.v7.widget.RecyclerView>
  291. </LinearLayout>
  292. </LinearLayout>
  293. </ScrollView>
  294. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement