Dilan1991

Untitled

Feb 4th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <android.support.v7.widget.CardView android:layout_width="match_parent"
  2. android:layout_height="wrap_content"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. app:cardCornerRadius="@dimen/dimen_8"
  5. app:contentPadding="@dimen/cardview_default_radius"
  6. android:name="post_cardview"
  7. xmlns:android="http://schemas.android.com/apk/res/android">
  8.  
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:orientation="vertical">
  13.  
  14. <ImageView
  15. android:id="@+id/card_photo"
  16. android:layout_width="match_parent"
  17. android:layout_height="200dp"
  18. app:srcCompat="@drawable/ic_photo_camera" />
  19.  
  20. <TextView
  21. android:id="@+id/card_tgl"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:text="Photo by ....."
  25. android:textSize="20dp" />
  26.  
  27. <TextView
  28. android:id="@+id/card_tlp"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_gravity="bottom"
  32. android:text="Lokasi"
  33. android:textSize="20dp" />
  34.  
  35. <TextView
  36. android:id="@+id/card_comment"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:text="Komentar" />
  40.  
  41. </LinearLayout>
  42.  
  43.  
  44. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment