Advertisement
wildanfuady

Untitled

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