Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:layout_margin="5dp"
  7. app:cardCornerRadius="4dp"
  8. app:cardElevation="4dp">
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:orientation="horizontal">
  14.  
  15. <ImageView
  16. android:id="@+id/image_foto"
  17. android:layout_width="70dp"
  18. android:layout_height="70dp"
  19. android:layout_marginEnd="8dp"
  20. android:layout_marginRight="8dp" />
  21.  
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:orientation="vertical">
  26.  
  27. <TextView
  28. android:id="@+id/tv_nama"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:textSize="23sp"
  32. android:textStyle="bold" />
  33.  
  34. <TextView
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:text="Handphone"
  38. android:textSize="17dp"
  39. android:textStyle="normal" />
  40. </LinearLayout>
  41.  
  42. </LinearLayout>
  43.  
  44. </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement