Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/book_cover"
- android:layout_width="56dp"
- android:layout_height="56dp"
- android:layout_margin="8dp" />
- <TextView
- android:id="@+id/book_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="8dp"
- android:layout_toRightOf="@+id/book_cover"
- android:text="Title"
- android:textSize="24sp" />
- <TextView
- android:id="@+id/book_author"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/book_title"
- android:layout_marginLeft="8dp"
- android:layout_toRightOf="@+id/book_cover"
- android:text="Author"
- android:textSize="12sp" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement