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="250dp">
- <ImageView
- android:id="@+id/item_image"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="centerCrop"
- android:src="@mipmap/ic_launcher" />
- <TextView
- android:id="@+id/item_nama"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-condensed-light"
- android:padding="5dp"
- android:text="Nama"
- android:textAllCaps="true"
- android:textColor="@android:color/white"
- android:textSize="16sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/item_author"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/item_nama"
- android:padding="5dp"
- android:text="Author"
- android:textColor="@android:color/white"
- android:textSize="12sp" />
- <TextView
- android:id="@+id/item_description"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="5dp"
- android:text="Description"
- android:textColor="@android:color/white"
- android:textSize="12sp"
- android:maxLines="2"
- android:layout_below="@id/item_author"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement