wildanfuady

Untitled

Feb 8th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.68 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <!-- TODO 15 copypaste the layout ->
  4. separator.xml -> icon to.., -->
  5.  
  6. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  7. xmlns:tools="http://schemas.android.com/tools"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical"
  11. tools:context=".DetailActivity">
  12.  
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:gravity="center">
  17.  
  18. <ImageView
  19. android:layout_width="100dp"
  20. android:layout_height="100dp"
  21. android:src="@drawable/ic_account_circle_black"
  22. android:layout_gravity="center"/>
  23. </LinearLayout>
  24.  
  25. <ScrollView
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content">
  28.  
  29. <LinearLayout
  30. android:orientation="vertical"
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content">
  33.  
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:orientation="horizontal"
  38. android:padding="10dp">
  39.  
  40. <ImageView
  41. android:layout_width="50dp"
  42. android:layout_height="50dp"
  43. android:src="@drawable/ic_bookmark"
  44. android:layout_marginRight="10dp"/>
  45.  
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:orientation="vertical">
  50.  
  51. <TextView
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:text="Nama" />
  55.  
  56. <TextView
  57. android:id="@+id/txt_nama"
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:textSize="20sp"
  61. android:textStyle="bold"
  62. android:text="Anis Abdul Lathiif"/>
  63. </LinearLayout>
  64. </LinearLayout>
  65.  
  66. <include layout="@layout/separator"/>
  67.  
  68. <LinearLayout
  69. android:layout_width="match_parent"
  70. android:layout_height="wrap_content"
  71. android:orientation="horizontal"
  72. android:padding="10dp">
  73.  
  74. <ImageView
  75. android:layout_width="50dp"
  76. android:layout_height="50dp"
  77. android:src="@drawable/ic_phone"
  78. android:layout_marginRight="10dp"/>
  79.  
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:orientation="vertical">
  84.  
  85. <TextView
  86. android:layout_width="match_parent"
  87. android:layout_height="wrap_content"
  88. android:text="No. Hp" />
  89.  
  90. <TextView
  91. android:id="@+id/txt_no_hp"
  92. android:layout_width="match_parent"
  93. android:layout_height="wrap_content"
  94. android:textSize="20sp"
  95. android:textStyle="bold"
  96. android:text="Anis Abdul Lathiif"/>
  97. </LinearLayout>
  98. </LinearLayout>
  99.  
  100. <include layout="@layout/separator"/>
  101.  
  102. <LinearLayout
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:orientation="horizontal"
  106. android:padding="10dp">
  107.  
  108. <ImageView
  109. android:layout_width="50dp"
  110. android:layout_height="50dp"
  111. android:src="@drawable/ic_email"
  112. android:layout_marginRight="10dp"/>
  113.  
  114. <LinearLayout
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:orientation="vertical">
  118.  
  119. <TextView
  120. android:layout_width="match_parent"
  121. android:layout_height="wrap_content"
  122. android:text="Email" />
  123.  
  124. <TextView
  125. android:id="@+id/txt_email"
  126. android:layout_width="match_parent"
  127. android:layout_height="wrap_content"
  128. android:textSize="20sp"
  129. android:textStyle="bold"
  130. android:text="Anis Abdul Lathiif"/>
  131. </LinearLayout>
  132. </LinearLayout>
  133.  
  134. <include layout="@layout/separator"/>
  135.  
  136. <LinearLayout
  137. android:layout_width="match_parent"
  138. android:layout_height="wrap_content"
  139. android:orientation="horizontal"
  140. android:padding="10dp">
  141.  
  142. <ImageView
  143. android:layout_width="50dp"
  144. android:layout_height="50dp"
  145. android:src="@drawable/ic_date"
  146. android:layout_marginRight="10dp"/>
  147.  
  148. <LinearLayout
  149. android:layout_width="match_parent"
  150. android:layout_height="wrap_content"
  151. android:orientation="vertical">
  152.  
  153. <TextView
  154. android:layout_width="match_parent"
  155. android:layout_height="wrap_content"
  156. android:text="Tanggal Lahir" />
  157.  
  158. <TextView
  159. android:id="@+id/txt_tgl_lahir"
  160. android:layout_width="match_parent"
  161. android:layout_height="wrap_content"
  162. android:textSize="20sp"
  163. android:textStyle="bold"
  164. android:text="Anis Abdul Lathiif"/>
  165. </LinearLayout>
  166. </LinearLayout>
  167.  
  168. <include layout="@layout/separator"/>
  169.  
  170. <LinearLayout
  171. android:layout_width="match_parent"
  172. android:layout_height="wrap_content"
  173. android:orientation="horizontal"
  174. android:padding="10dp">
  175.  
  176. <ImageView
  177. android:layout_width="50dp"
  178. android:layout_height="50dp"
  179. android:src="@drawable/ic_gender"
  180. android:layout_marginRight="10dp"/>
  181.  
  182. <LinearLayout
  183. android:layout_width="match_parent"
  184. android:layout_height="wrap_content"
  185. android:orientation="vertical">
  186.  
  187. <TextView
  188. android:layout_width="match_parent"
  189. android:layout_height="wrap_content"
  190. android:text="Gender" />
  191.  
  192. <TextView
  193. android:id="@+id/txt_gender"
  194. android:layout_width="match_parent"
  195. android:layout_height="wrap_content"
  196. android:textSize="20sp"
  197. android:textStyle="bold"
  198. android:text="Anis Abdul Lathiif"/>
  199. </LinearLayout>
  200. </LinearLayout>
  201.  
  202. <include layout="@layout/separator"/>
  203.  
  204. <LinearLayout
  205. android:layout_width="match_parent"
  206. android:layout_height="wrap_content"
  207. android:orientation="horizontal"
  208. android:padding="10dp">
  209.  
  210. <ImageView
  211. android:layout_width="50dp"
  212. android:layout_height="50dp"
  213. android:src="@drawable/ic_flight_takeoff"
  214. android:layout_marginRight="10dp"/>
  215.  
  216. <LinearLayout
  217. android:layout_width="match_parent"
  218. android:layout_height="wrap_content"
  219. android:orientation="vertical">
  220.  
  221. <TextView
  222. android:layout_width="match_parent"
  223. android:layout_height="wrap_content"
  224. android:text="Jenjang" />
  225.  
  226. <TextView
  227. android:id="@+id/txt_jenjang"
  228. android:layout_width="match_parent"
  229. android:layout_height="wrap_content"
  230. android:textSize="20sp"
  231. android:textStyle="bold"
  232. android:text="Anis Abdul Lathiif"/>
  233. </LinearLayout>
  234. </LinearLayout>
  235.  
  236. <include layout="@layout/separator"/>
  237.  
  238. <LinearLayout
  239. android:layout_width="match_parent"
  240. android:layout_height="wrap_content"
  241. android:orientation="horizontal"
  242. android:padding="10dp">
  243.  
  244. <ImageView
  245. android:layout_width="50dp"
  246. android:layout_height="50dp"
  247. android:src="@drawable/ic_fitness"
  248. android:layout_marginRight="10dp"/>
  249.  
  250. <LinearLayout
  251. android:layout_width="match_parent"
  252. android:layout_height="wrap_content"
  253. android:orientation="vertical">
  254.  
  255. <TextView
  256. android:layout_width="match_parent"
  257. android:layout_height="wrap_content"
  258. android:text="Hobi" />
  259.  
  260. <TextView
  261. android:id="@+id/txt_hobi"
  262. android:layout_width="match_parent"
  263. android:layout_height="wrap_content"
  264. android:textSize="20sp"
  265. android:textStyle="bold"
  266. android:text="Anis Abdul Lathiif"/>
  267. </LinearLayout>
  268. </LinearLayout>
  269.  
  270. <include layout="@layout/separator"/>
  271.  
  272. <LinearLayout
  273. android:layout_width="match_parent"
  274. android:layout_height="wrap_content"
  275. android:orientation="horizontal"
  276. android:padding="10dp">
  277.  
  278. <ImageView
  279. android:layout_width="50dp"
  280. android:layout_height="50dp"
  281. android:src="@drawable/ic_location"
  282. android:layout_marginRight="10dp"/>
  283.  
  284. <LinearLayout
  285. android:layout_width="match_parent"
  286. android:layout_height="wrap_content"
  287. android:orientation="vertical">
  288.  
  289. <TextView
  290. android:layout_width="match_parent"
  291. android:layout_height="wrap_content"
  292. android:text="Alamat" />
  293.  
  294. <TextView
  295. android:id="@+id/txt_alamat"
  296. android:layout_width="match_parent"
  297. android:layout_height="wrap_content"
  298. android:textSize="20sp"
  299. android:textStyle="bold"
  300. android:text="Anis Abdul Lathiif"/>
  301. </LinearLayout>
  302. </LinearLayout>
  303. </LinearLayout>
  304. </ScrollView>
  305. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment