Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical">
  6.  
  7. <ImageView
  8. android:id="@+id/book_cover"
  9. android:layout_width="56dp"
  10. android:layout_height="56dp"
  11. android:layout_margin="8dp" />
  12.  
  13. <TextView
  14. android:id="@+id/book_title"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_margin="8dp"
  18. android:layout_toRightOf="@+id/book_cover"
  19. android:text="Title"
  20. android:textSize="24sp" />
  21.  
  22. <TextView
  23. android:id="@+id/book_author"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_below="@+id/book_title"
  27. android:layout_marginLeft="8dp"
  28. android:layout_toRightOf="@+id/book_cover"
  29. android:text="Author"
  30. android:textSize="12sp" />
  31. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement