Advertisement
abuzuhair

Untitled

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