Guest User

Untitled

a guest
Dec 14th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical">
  6.  
  7.  
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="200dp"
  11. android:orientation="horizontal"
  12. android:background="#eeeeee" android:layout_marginTop="30dp">
  13.  
  14. <ImageButton
  15. android:layout_width="0dp"
  16. android:layout_height="match_parent"
  17. android:layout_marginBottom="5dp"
  18. android:layout_marginLeft="2dp"
  19. android:layout_marginRight="5dp"
  20. android:layout_marginTop="2dp"
  21. android:layout_weight="1"
  22. android:adjustViewBounds="true"
  23. android:padding="30dp"
  24. android:scaleType="fitCenter"
  25. android:background="@drawable/button1_style"
  26. android:src="@drawable/icon1_48dp"
  27. style="@style/Widget.AppCompat.Button.Colored" />
  28.  
  29. <ImageButton
  30. android:layout_width="0dp"
  31. android:layout_height="match_parent"
  32. android:layout_marginBottom="5dp"
  33. android:layout_marginLeft="2dp"
  34. android:layout_marginRight="5dp"
  35. android:layout_marginTop="2dp"
  36. android:layout_weight="1"
  37. android:adjustViewBounds="true"
  38. android:padding="30dp"
  39. android:scaleType="fitCenter"
  40. style="@style/Widget.AppCompat.Button.Colored"
  41. android:background="@drawable/button2_style"
  42. android:src="@drawable/icon2_48dp"
  43. android:tint="#ffffff"
  44.  
  45. />
  46.  
  47. </LinearLayout>
  48.  
  49. <LinearLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="200dp"
  52. android:orientation="horizontal"
  53. android:background="#eeeeee" android:layout_marginBottom="20dp">
  54.  
  55. <ImageButton
  56. android:layout_width="0dp"
  57. android:layout_height="match_parent"
  58. android:layout_marginBottom="5dp"
  59. android:layout_marginLeft="2dp"
  60. android:layout_marginRight="5dp"
  61. android:layout_marginTop="2dp"
  62. android:layout_weight="1"
  63. android:adjustViewBounds="true"
  64. android:padding="30dp"
  65. android:scaleType="fitCenter"
  66. style="@style/Widget.AppCompat.Button.Colored"
  67. android:src="@drawable/icon3_48dp"
  68. android:background="@drawable/button3_style"
  69. android:tint="#ffffff"
  70. />
  71.  
  72. <ImageButton
  73. android:layout_width="0dp"
  74. android:layout_height="match_parent"
  75. android:layout_marginBottom="5dp"
  76. android:layout_marginLeft="2dp"
  77. android:layout_marginRight="5dp"
  78. android:layout_marginTop="2dp"
  79. android:layout_weight="1"
  80. android:adjustViewBounds="true"
  81. android:padding="30dp"
  82. android:scaleType="fitCenter"
  83. style="@style/Widget.AppCompat.Button.Colored"
  84. android:src="@drawable/icon4_48dp"
  85. android:background="@drawable/button4_style"
  86. />
  87. </LinearLayout>
  88.  
  89. </LinearLayout>
  90.  
  91. <TextView
  92. android:layout_width="wrap_content"
  93. android:background="@drawable/button1_style"
  94. android:drawableTop="@drawable/icon1_48dp"
  95. android:text = "Button1"
  96. android:layout_height="wrap_content"/>
  97.  
  98. <?xml version="1.0" encoding="utf-8"?>
  99. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  100. android:layout_width="match_parent"
  101. android:layout_height="match_parent"
  102. android:orientation="vertical">
  103.  
  104.  
  105. <LinearLayout
  106. android:layout_width="match_parent"
  107. android:layout_height="200dp"
  108. android:orientation="horizontal"
  109. android:background="#eeeeee" android:layout_marginTop="30dp">
  110.  
  111. <ImageButton
  112. android:layout_width="0dp"
  113. android:layout_height="match_parent"
  114. android:layout_marginBottom="5dp"
  115. android:layout_marginLeft="2dp"
  116. android:layout_marginRight="5dp"
  117. android:layout_marginTop="2dp"
  118. android:layout_weight="1"
  119. android:adjustViewBounds="true"
  120. android:padding="30dp"
  121. android:scaleType="fitCenter"
  122. android:background="@drawable/button1_style"
  123. android:src="@drawable/icon1_48dp"
  124. style="@style/Widget.AppCompat.Button.Colored" />
  125.  
  126.  
  127. <ImageButton
  128. android:layout_width="0dp"
  129. android:layout_height="match_parent"
  130. android:layout_marginBottom="5dp"
  131. android:layout_marginLeft="2dp"
  132. android:layout_marginRight="5dp"
  133. android:layout_marginTop="2dp"
  134. android:layout_weight="1"
  135. android:adjustViewBounds="true"
  136. android:padding="30dp"
  137. android:scaleType="fitCenter"
  138. style="@style/Widget.AppCompat.Button.Colored"
  139. android:background="@drawable/button2_style"
  140. android:src="@drawable/icon2_48dp"
  141. android:tint="#ffffff"
  142.  
  143. />
  144.  
  145. </LinearLayout>
  146.  
  147. <LinearLayout
  148. android:id="@+id/TextViewlayout1"
  149. android:layout_width="match_parent"
  150. android:orientation="horizontal"
  151. android:weightSum="2"
  152. android:layout_gravity="center"
  153. android:layout_height="wrap_content">
  154. <TextView
  155. android:text="Something 1"
  156. android:gravity="center"
  157. android:layout_weight="1"
  158. android:layout_width="wrap_content"
  159. android:layout_height="wrap_content" />
  160.  
  161. <TextView
  162. android:text="Something 2"
  163. android:layout_weight="1"
  164. android:gravity="center"
  165. android:layout_width="wrap_content"
  166. android:layout_height="wrap_content" />
  167. </LinearLayout>
  168.  
  169. <LinearLayout
  170. android:layout_width="match_parent"
  171. android:layout_height="200dp"
  172. android:orientation="horizontal"
  173. android:background="#eeeeee" >
  174.  
  175. <ImageButton
  176. android:layout_width="0dp"
  177. android:layout_height="match_parent"
  178. android:layout_marginBottom="5dp"
  179. android:layout_marginLeft="2dp"
  180. android:layout_marginRight="5dp"
  181. android:layout_marginTop="2dp"
  182. android:layout_weight="1"
  183. android:adjustViewBounds="true"
  184. android:padding="30dp"
  185. android:scaleType="fitCenter"
  186. style="@style/Widget.AppCompat.Button.Colored"
  187. android:src="@drawable/icon3_48dp"
  188. android:background="@drawable/button3_style"
  189. android:tint="#ffffff"
  190. />
  191.  
  192. <ImageButton
  193. android:layout_width="0dp"
  194. android:layout_height="match_parent"
  195. android:layout_marginBottom="5dp"
  196. android:layout_marginLeft="2dp"
  197. android:layout_marginRight="5dp"
  198. android:layout_marginTop="2dp"
  199. android:layout_weight="1"
  200. android:adjustViewBounds="true"
  201. android:padding="30dp"
  202. android:scaleType="fitCenter"
  203. style="@style/Widget.AppCompat.Button.Colored"
  204. android:src="@drawable/icon4_48dp"
  205. android:background="@drawable/button4_style"
  206. />
  207. </LinearLayout>
  208.  
  209. <LinearLayout
  210. android:id="@+id/TextViewlayout2"
  211. android:layout_width="match_parent"
  212. android:orientation="horizontal"
  213. android:weightSum="2"
  214. android:layout_gravity="center"
  215. android:layout_height="wrap_content">
  216. <TextView
  217. android:text="Something 3"
  218. android:gravity="center"
  219. android:layout_weight="1"
  220. android:layout_width="wrap_content"
  221. android:layout_height="wrap_content" />
  222.  
  223. <TextView
  224. android:text="Something 4"
  225. android:layout_weight="1"
  226. android:gravity="center"
  227. android:layout_width="wrap_content"
  228. android:layout_height="wrap_content" />
  229. </LinearLayout>
  230. </LinearLayout>
Add Comment
Please, Sign In to add comment