Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--TODO 11 MAKE ROW SISWA ITEM XML-->
  3. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="horizontal"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:padding="10dp">
  8.  
  9. <ImageView
  10. android:layout_width="45dp"
  11. android:layout_height="45dp"
  12. android:src="@drawable/ic_person_black"
  13. android:layout_marginEnd="10dp"
  14. android:layout_marginRight="10dp" />
  15.  
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:orientation="vertical">
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:orientation="horizontal">
  24.  
  25. <TextView
  26. android:id="@+id/rowNama"
  27. android:layout_width="0dp"
  28. android:layout_height="wrap_content"
  29. android:layout_weight="1"
  30. android:text="Nama"
  31. android:textSize="20sp"
  32. android:textStyle=""/>
  33.  
  34. <TextView
  35. android:id="@+id/rowJenjang"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:text="Jenjang"
  39. android:textAlignment="textEnd"
  40. android:gravity="end" />
  41. </LinearLayout>
  42.  
  43. <LinearLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:orientation="horizontal">
  47. <TextView
  48. android:id="@+id/rowGender"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:layout_weight="1"
  52. android:text="Gender"/>
  53.  
  54. <TextView
  55. android:id="@+id/rowNoHp"
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_weight="1"
  59. android:text="No. Hp"
  60. android:textAlignment="textEnd"
  61. android:gravity="end" />
  62. </LinearLayout>
  63. </LinearLayout>
  64. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement