Advertisement
wildanfuady

activity_detail.xml

Nov 22nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 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. tools:context=".DetailActivity"
  8. android:orientation="vertical">
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:gravity="center">
  14.  
  15. <ImageView
  16. android:layout_width="100dp"
  17. android:layout_height="100dp"
  18. android:src="@drawable/ic_account_circle_black"
  19. android:layout_gravity="center"/>
  20.  
  21. </LinearLayout>
  22.  
  23. <ScrollView
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content">
  26.  
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:orientation="vertical">
  31.  
  32. <LinearLayout
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content"
  35. android:orientation="horizontal"
  36. android:padding="10dp">
  37.  
  38. <ImageView
  39. android:layout_width="50dp"
  40. android:layout_height="50dp"
  41. android:src="@drawable/ic_bookmark_black"
  42. android:layout_marginRight="10dp"/>
  43.  
  44. <LinearLayout
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:orientation="vertical">
  48.  
  49. <TextView
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:text="Nama Siswa"/>
  53.  
  54. <TextView
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:text="Wildan Fuady"
  58. android:textSize="20sp"
  59. android:textStyle="bold"
  60. android:id="@+id/txt_nama"/>
  61.  
  62. </LinearLayout>
  63.  
  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_black"
  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:layout_width="match_parent"
  92. android:layout_height="wrap_content"
  93. android:text="087722686655"
  94. android:textSize="20sp"
  95. android:textStyle="bold"
  96. android:id="@+id/txt_nohp"/>
  97.  
  98. </LinearLayout>
  99.  
  100. </LinearLayout>
  101.  
  102. <include layout="@layout/separator"/>
  103.  
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:orientation="horizontal"
  108. android:padding="10dp">
  109.  
  110. <ImageView
  111. android:layout_width="50dp"
  112. android:layout_height="50dp"
  113. android:src="@drawable/ic_email_black"
  114. android:layout_marginRight="10dp"/>
  115.  
  116. <LinearLayout
  117. android:layout_width="match_parent"
  118. android:layout_height="wrap_content"
  119. android:orientation="vertical">
  120.  
  121. <TextView
  122. android:layout_width="match_parent"
  123. android:layout_height="wrap_content"
  124. android:text="Email"/>
  125.  
  126. <TextView
  127. android:layout_width="match_parent"
  128. android:layout_height="wrap_content"
  129. android:text="wildanfuady@gmail.com"
  130. android:textSize="20sp"
  131. android:textStyle="bold"
  132. android:id="@+id/txt_email"/>
  133.  
  134. </LinearLayout>
  135.  
  136. </LinearLayout>
  137.  
  138. <include layout="@layout/separator"/>
  139.  
  140. <LinearLayout
  141. android:layout_width="match_parent"
  142. android:layout_height="wrap_content"
  143. android:orientation="horizontal"
  144. android:padding="10dp">
  145.  
  146. <ImageView
  147. android:layout_width="50dp"
  148. android:layout_height="50dp"
  149. android:src="@drawable/ic_date_black"
  150. android:layout_marginRight="10dp"/>
  151.  
  152. <LinearLayout
  153. android:layout_width="match_parent"
  154. android:layout_height="wrap_content"
  155. android:orientation="vertical">
  156.  
  157. <TextView
  158. android:layout_width="match_parent"
  159. android:layout_height="wrap_content"
  160. android:text="Tanggal Lahir"/>
  161.  
  162. <TextView
  163. android:layout_width="match_parent"
  164. android:layout_height="wrap_content"
  165. android:text="Wildan Fuady"
  166. android:textSize="20sp"
  167. android:textStyle="bold"
  168. android:id="@+id/txt_tgllahir"/>
  169.  
  170. </LinearLayout>
  171.  
  172. </LinearLayout>
  173.  
  174. <include layout="@layout/separator"/>
  175.  
  176. <LinearLayout
  177. android:layout_width="match_parent"
  178. android:layout_height="wrap_content"
  179. android:orientation="horizontal"
  180. android:padding="10dp">
  181.  
  182. <ImageView
  183. android:layout_width="50dp"
  184. android:layout_height="50dp"
  185. android:src="@drawable/ic_wc_black"
  186. android:layout_marginRight="10dp"/>
  187.  
  188. <LinearLayout
  189. android:layout_width="match_parent"
  190. android:layout_height="wrap_content"
  191. android:orientation="vertical">
  192.  
  193. <TextView
  194. android:layout_width="match_parent"
  195. android:layout_height="wrap_content"
  196. android:text="Gender"/>
  197.  
  198. <TextView
  199. android:layout_width="match_parent"
  200. android:layout_height="wrap_content"
  201. android:text="Laki-laki"
  202. android:textSize="20sp"
  203. android:textStyle="bold"
  204. android:id="@+id/txt_gender"/>
  205.  
  206. </LinearLayout>
  207.  
  208. </LinearLayout>
  209.  
  210. <include layout="@layout/separator"/>
  211.  
  212. <LinearLayout
  213. android:layout_width="match_parent"
  214. android:layout_height="wrap_content"
  215. android:orientation="horizontal"
  216. android:padding="10dp">
  217.  
  218. <ImageView
  219. android:layout_width="50dp"
  220. android:layout_height="50dp"
  221. android:src="@drawable/ic_flight_takeoff_black"
  222. android:layout_marginRight="10dp"/>
  223.  
  224. <LinearLayout
  225. android:layout_width="match_parent"
  226. android:layout_height="wrap_content"
  227. android:orientation="vertical">
  228.  
  229. <TextView
  230. android:layout_width="match_parent"
  231. android:layout_height="wrap_content"
  232. android:text="Jenjang"/>
  233.  
  234. <TextView
  235. android:layout_width="match_parent"
  236. android:layout_height="wrap_content"
  237. android:text="SD"
  238. android:textSize="20sp"
  239. android:textStyle="bold"
  240. android:id="@+id/txt_jenjang"/>
  241.  
  242. </LinearLayout>
  243.  
  244. </LinearLayout>
  245.  
  246. <include layout="@layout/separator"/>
  247.  
  248. <LinearLayout
  249. android:layout_width="match_parent"
  250. android:layout_height="wrap_content"
  251. android:orientation="horizontal"
  252. android:padding="10dp">
  253.  
  254. <ImageView
  255. android:layout_width="50dp"
  256. android:layout_height="50dp"
  257. android:src="@drawable/ic_fitness_black"
  258. android:layout_marginRight="10dp"/>
  259.  
  260. <LinearLayout
  261. android:layout_width="match_parent"
  262. android:layout_height="wrap_content"
  263. android:orientation="vertical">
  264.  
  265. <TextView
  266. android:layout_width="match_parent"
  267. android:layout_height="wrap_content"
  268. android:text="Hobi"/>
  269.  
  270. <TextView
  271. android:layout_width="match_parent"
  272. android:layout_height="wrap_content"
  273. android:text="Membaca"
  274. android:textSize="20sp"
  275. android:textStyle="bold"
  276. android:id="@+id/txt_hobi"/>
  277.  
  278. </LinearLayout>
  279.  
  280. </LinearLayout>
  281.  
  282. <include layout="@layout/separator"/>
  283.  
  284. <LinearLayout
  285. android:layout_width="match_parent"
  286. android:layout_height="wrap_content"
  287. android:orientation="horizontal"
  288. android:padding="10dp">
  289.  
  290. <ImageView
  291. android:layout_width="50dp"
  292. android:layout_height="50dp"
  293. android:src="@drawable/ic_location_on_black"
  294. android:layout_marginRight="10dp"/>
  295.  
  296. <LinearLayout
  297. android:layout_width="match_parent"
  298. android:layout_height="wrap_content"
  299. android:orientation="vertical">
  300.  
  301. <TextView
  302. android:layout_width="match_parent"
  303. android:layout_height="wrap_content"
  304. android:text="Alamat"/>
  305.  
  306. <TextView
  307. android:layout_width="match_parent"
  308. android:layout_height="wrap_content"
  309. android:text="Bojonggede"
  310. android:textSize="20sp"
  311. android:textStyle="bold"
  312. android:id="@+id/txt_alamat"/>
  313.  
  314. </LinearLayout>
  315.  
  316. </LinearLayout>
  317.  
  318. <include layout="@layout/separator"/>
  319.  
  320. </LinearLayout>
  321.  
  322. </ScrollView>
  323.  
  324. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement