Advertisement
rama_astadipati

layoutlist

Jun 28th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <android.support.v7.widget.CardView
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. xmlns:android="http://schemas.android.com/apk/res/android"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. app:cardElevation="4dp">
  9.  
  10. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="vertical"
  14. android:padding="10dp">
  15.  
  16. <LinearLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:orientation="horizontal">
  20.  
  21. <TextView
  22. android:layout_width="100dp"
  23. android:layout_height="wrap_content"
  24. android:text="Nama"/>
  25. <TextView
  26. android:layout_width="5dp"
  27. android:layout_height="wrap_content"
  28. android:text=":"/>
  29.  
  30. <TextView
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:text=""
  34. android:id="@+id/tvNama"/>
  35.  
  36. </LinearLayout>
  37.  
  38. <LinearLayout
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:orientation="horizontal">
  42.  
  43. <TextView
  44. android:layout_width="100dp"
  45. android:layout_height="wrap_content"
  46. android:text="Usia"/>
  47. <TextView
  48. android:layout_width="5dp"
  49. android:layout_height="wrap_content"
  50. android:text=":"/>
  51.  
  52. <TextView
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:text=""
  56. android:id="@+id/tvUsia"/>
  57.  
  58. </LinearLayout>
  59.  
  60. <LinearLayout
  61. android:layout_width="match_parent"
  62. android:layout_height="wrap_content"
  63. android:orientation="horizontal">
  64.  
  65. <TextView
  66. android:layout_width="100dp"
  67. android:layout_height="wrap_content"
  68. android:text="Domisili"/>
  69. <TextView
  70. android:layout_width="5dp"
  71. android:layout_height="wrap_content"
  72. android:text=":"/>
  73.  
  74. <TextView
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:text=""
  78. android:id="@+id/tvDomisili"/>
  79.  
  80. </LinearLayout>
  81.  
  82. </LinearLayout>
  83. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement