Advertisement
Guest User

Untitled

a guest
Jan 25th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.92 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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. android:layout_margin="16dp"
  9. tools:context="id.co.rumahcoding.sekolahku.DetailActivity">
  10.  
  11. <ImageView
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_gravity="center"
  15. android:src="@drawable/ic_account_circle"/>
  16.  
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:layout_margin="4dp">
  21.  
  22. <ImageView
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_gravity="center"
  26. android:src="@drawable/ic_label"/>
  27.  
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_gravity="center"
  32. android:orientation="vertical">
  33.  
  34. <TextView
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="Nama"/>
  38.  
  39. <TextView
  40. android:id="@+id/tv_name"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:textStyle="bold"
  44. android:textSize="20sp"
  45. android:text="Ahmad Zuhair"/>
  46. </LinearLayout>
  47. </LinearLayout>
  48.  
  49. <View
  50. android:layout_width="match_parent"
  51. android:layout_height="1dp"
  52. android:background="#fd5722" />
  53.  
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:layout_margin="4dp">
  58.  
  59. <ImageView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_gravity="center"
  63. android:src="@drawable/ic_smartphone"/>
  64.  
  65. <LinearLayout
  66. android:layout_width="match_parent"
  67. android:layout_height="wrap_content"
  68. android:layout_gravity="center"
  69. android:orientation="vertical">
  70.  
  71. <TextView
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:text="No HP"/>
  75.  
  76. <TextView
  77. android:id="@+id/tv_no_hp"
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:textStyle="bold"
  81. android:textSize="20sp"
  82. android:text="098349587348"/>
  83. </LinearLayout>
  84. </LinearLayout>
  85.  
  86. <View
  87. android:layout_width="match_parent"
  88. android:layout_height="1dp"
  89. android:background="#fd5722" />
  90.  
  91. <LinearLayout
  92. android:layout_width="match_parent"
  93. android:layout_height="wrap_content"
  94. android:layout_margin="4dp">
  95.  
  96. <ImageView
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:layout_gravity="center"
  100. android:src="@drawable/ic_favorite"/>
  101.  
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_gravity="center"
  106. android:orientation="vertical">
  107.  
  108. <TextView
  109. android:layout_width="wrap_content"
  110. android:layout_height="wrap_content"
  111. android:text="Gender"/>
  112.  
  113. <TextView
  114. android:id="@+id/tv_gender"
  115. android:layout_width="wrap_content"
  116. android:layout_height="wrap_content"
  117. android:textStyle="bold"
  118. android:textSize="20sp"
  119. android:text="Pria"/>
  120. </LinearLayout>
  121. </LinearLayout>
  122.  
  123. <View
  124. android:layout_width="match_parent"
  125. android:layout_height="1dp"
  126. android:background="#fd5722" />
  127.  
  128. <LinearLayout
  129. android:layout_width="match_parent"
  130. android:layout_height="wrap_content"
  131. android:layout_margin="4dp">
  132.  
  133. <ImageView
  134. android:layout_width="wrap_content"
  135. android:layout_height="wrap_content"
  136. android:layout_gravity="center"
  137. android:src="@drawable/ic_flight_takeoff"/>
  138.  
  139. <LinearLayout
  140. android:layout_width="match_parent"
  141. android:layout_height="wrap_content"
  142. android:layout_gravity="center"
  143. android:orientation="vertical">
  144.  
  145. <TextView
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:text="Jenjang"/>
  149.  
  150. <TextView
  151. android:id="@+id/tv_jenjang"
  152. android:layout_width="wrap_content"
  153. android:layout_height="wrap_content"
  154. android:textStyle="bold"
  155. android:textSize="20sp"
  156. android:text="SD"/>
  157. </LinearLayout>
  158. </LinearLayout>
  159.  
  160. <View
  161. android:layout_width="match_parent"
  162. android:layout_height="1dp"
  163. android:background="#fd5722" />
  164.  
  165. <LinearLayout
  166. android:layout_width="match_parent"
  167. android:layout_height="wrap_content"
  168. android:layout_margin="4dp">
  169.  
  170. <ImageView
  171. android:layout_width="wrap_content"
  172. android:layout_height="wrap_content"
  173. android:layout_gravity="center"
  174. android:src="@drawable/ic_fitness_center"/>
  175.  
  176. <LinearLayout
  177. android:layout_width="match_parent"
  178. android:layout_height="wrap_content"
  179. android:layout_gravity="center"
  180. android:orientation="vertical">
  181.  
  182. <TextView
  183. android:layout_width="wrap_content"
  184. android:layout_height="wrap_content"
  185. android:text="Hobi"/>
  186.  
  187. <TextView
  188. android:id="@+id/tv_hobi"
  189. android:layout_width="wrap_content"
  190. android:layout_height="wrap_content"
  191. android:textStyle="bold"
  192. android:textSize="20sp"
  193. android:text="Membaca, Menulis"/>
  194. </LinearLayout>
  195. </LinearLayout>
  196.  
  197. <View
  198. android:layout_width="match_parent"
  199. android:layout_height="1dp"
  200. android:background="#fd5722" />
  201.  
  202. <LinearLayout
  203. android:layout_width="match_parent"
  204. android:layout_height="wrap_content"
  205. android:layout_margin="4dp">
  206.  
  207. <ImageView
  208. android:layout_width="wrap_content"
  209. android:layout_height="wrap_content"
  210. android:layout_gravity="center"
  211. android:src="@drawable/ic_location_on"/>
  212.  
  213. <LinearLayout
  214. android:layout_width="match_parent"
  215. android:layout_height="wrap_content"
  216. android:layout_gravity="center"
  217. android:orientation="vertical">
  218.  
  219. <TextView
  220. android:layout_width="wrap_content"
  221. android:layout_height="wrap_content"
  222. android:text="Alamat"/>
  223.  
  224. <TextView
  225. android:id="@+id/tv_alamat"
  226. android:layout_width="wrap_content"
  227. android:layout_height="wrap_content"
  228. android:textStyle="bold"
  229. android:textSize="20sp"
  230. android:text="Pondok Duta"/>
  231. </LinearLayout>
  232. </LinearLayout>
  233.  
  234. <View
  235. android:layout_width="match_parent"
  236. android:layout_height="1dp"
  237. android:background="#fd5722" />
  238. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement