m3rl1ne

menu 2

Aug 14th, 2019
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3.  
  4. <ScrollView
  5. xmlns:android="http://schemas.android.com/apk/res/android"
  6. xmlns:app="http://schemas.android.com/apk/res-auto"
  7. xmlns:tools="http://schemas.android.com/tools"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:background="@drawable/bgapps"
  11. tools:context=".MainActivity">
  12.  
  13. <LinearLayout
  14. android:orientation="vertical"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent">
  17.  
  18. <RelativeLayout
  19. android:layout_marginTop="32dp"
  20. android:layout_marginLeft="20dp"
  21. android:layout_marginRight="20dp"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content">
  24.  
  25. <TextView
  26. android:id="@+id/datang"
  27. android:textColor="#ffff"
  28. android:textSize="25sp"
  29. android:text="Selamat datang"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content" />
  32.  
  33. <TextView
  34. android:layout_below="@+id/datang"
  35. android:layout_marginTop="6dp"
  36. android:textColor="#ffff"
  37. android:id="@+id/kucing"
  38. android:textSize="15sp"
  39. android:text="Whatsapp : 082114148827"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content" />
  42.  
  43.  
  44.  
  45.  
  46.  
  47. </RelativeLayout>
  48.  
  49. <GridLayout
  50. android:layout_marginTop="35sp"
  51. android:columnCount="2"
  52. android:rowCount="3"
  53. android:alignmentMode="alignMargins"
  54. android:columnOrderPreserved="false"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content">
  57.  
  58. <androidx.cardview.widget.CardView
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:layout_columnWeight="1"
  62. android:layout_rowWeight="1"
  63. app:cardElevation="6dp"
  64. app:cardCornerRadius="12dp"
  65. android:layout_margin="12dp"
  66.  
  67. >
  68.  
  69. <LinearLayout
  70. android:orientation="vertical"
  71. android:padding="16dp"
  72. android:gravity="center"
  73. android:layout_width="match_parent"
  74. android:layout_height="match_parent">
  75.  
  76. <ImageView
  77.  
  78. android:src="@drawable/bug"
  79. android:onClick="boladalamsatu"
  80. android:layout_width="80dp"
  81. android:layout_height="80dp" />
  82. <TextView
  83. android:layout_marginTop="12dp"
  84. android:text="PREDIKSI BOLA"
  85. android:textSize="18sp"
  86. android:textColor="#6f6f6f"
  87. android:layout_width="wrap_content"
  88. android:layout_height="wrap_content" />
  89.  
  90. </LinearLayout>
  91.  
  92. </androidx.cardview.widget.CardView>
  93.  
  94. <androidx.cardview.widget.CardView
  95. android:layout_width="wrap_content"
  96. android:layout_height="wrap_content"
  97. android:layout_columnWeight="1"
  98. android:layout_rowWeight="1"
  99. app:cardElevation="6dp"
  100. app:cardCornerRadius="12dp"
  101. android:layout_margin="12dp"
  102.  
  103. >
  104.  
  105. <LinearLayout
  106. android:orientation="vertical"
  107. android:padding="16dp"
  108. android:gravity="center"
  109. android:layout_width="match_parent"
  110. android:layout_height="match_parent">
  111.  
  112. <ImageView
  113. android:src="@drawable/bug"
  114. android:layout_width="80dp"
  115. android:layout_height="80dp" />
  116. <TextView
  117. android:layout_marginTop="12dp"
  118. android:text="LIVE SCORE"
  119. android:textSize="18sp"
  120. android:textColor="#6f6f6f"
  121. android:layout_width="wrap_content"
  122. android:layout_height="wrap_content" />
  123.  
  124. </LinearLayout>
  125.  
  126. </androidx.cardview.widget.CardView>
  127.  
  128. <androidx.cardview.widget.CardView
  129. android:layout_width="wrap_content"
  130. android:layout_height="wrap_content"
  131. android:layout_columnWeight="1"
  132. android:layout_rowWeight="1"
  133. app:cardElevation="6dp"
  134. app:cardCornerRadius="12dp"
  135. android:layout_margin="12dp"
  136.  
  137. >
  138.  
  139. <LinearLayout
  140. android:orientation="vertical"
  141. android:padding="16dp"
  142. android:gravity="center"
  143. android:layout_width="match_parent"
  144. android:layout_height="match_parent">
  145.  
  146. <ImageView
  147. android:src="@drawable/bug"
  148. android:layout_width="80dp"
  149. android:layout_height="80dp" />
  150. <TextView
  151. android:layout_marginTop="12dp"
  152. android:text="KLASEMEN"
  153. android:textSize="18sp"
  154. android:textColor="#6f6f6f"
  155. android:layout_width="wrap_content"
  156. android:layout_height="wrap_content" />
  157.  
  158. </LinearLayout>
  159.  
  160. </androidx.cardview.widget.CardView>
  161.  
  162.  
  163.  
  164.  
  165.  
  166. <androidx.cardview.widget.CardView
  167. android:layout_width="wrap_content"
  168. android:layout_height="wrap_content"
  169. android:layout_columnWeight="1"
  170. android:layout_rowWeight="1"
  171. app:cardElevation="6dp"
  172. app:cardCornerRadius="12dp"
  173. android:layout_margin="12dp"
  174.  
  175. >
  176.  
  177. <LinearLayout
  178. android:orientation="vertical"
  179. android:padding="16dp"
  180. android:gravity="center"
  181. android:layout_width="match_parent"
  182. android:layout_height="match_parent">
  183.  
  184. <ImageView
  185. android:src="@drawable/bug"
  186. android:layout_width="80dp"
  187. android:layout_height="80dp" />
  188. <TextView
  189. android:layout_marginTop="12dp"
  190. android:text="JADWAL BOLA"
  191. android:textSize="18sp"
  192. android:textColor="#6f6f6f"
  193. android:layout_width="wrap_content"
  194. android:layout_height="wrap_content" />
  195.  
  196. </LinearLayout>
  197.  
  198. </androidx.cardview.widget.CardView>
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206. </GridLayout>
  207.  
  208. </LinearLayout>
  209.  
  210. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment