Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical">
  7.  
  8. <android.support.v7.widget.CardView
  9. app:cardBackgroundColor="#9E9E9E"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. >
  13.  
  14. <LinearLayout
  15. android:padding="10dp"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:orientation="horizontal"
  19. >
  20. <ImageView
  21. android:background="#fff"
  22. android:layout_width="0dp"
  23. android:layout_height="100dp"
  24. android:layout_weight="1"
  25. android:scaleType="centerCrop"/>
  26. <LinearLayout
  27. android:padding="10dp"
  28. android:layout_width="0dp"
  29. android:layout_height="match_parent"
  30. android:layout_weight="3"
  31. android:orientation="vertical">
  32. <TextView
  33. android:layout_width="match_parent"
  34. android:layout_height="wrap_content"
  35. android:textSize="24sp"
  36. android:textStyle="bold"
  37. android:text="Judul FIlm"/>
  38. <TextView
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:textSize="18sp"
  42. android:text="Tahun Rilis"/>
  43. </LinearLayout>
  44.  
  45. </LinearLayout>
  46.  
  47. </android.support.v7.widget.CardView>
  48. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement