-
-
Save jhoanborges/27b0046e8e9d9c5702ce0be4e51b98db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/cardview_id" | |
android:clickable="true" | |
android:layout_width="120dp" | |
android:layout_height="190dp" | |
android:layout_margin="5dp" | |
> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:id="@+id/book_img_id" | |
android:layout_width="match_parent" | |
android:layout_height="160dp" | |
android:scaleType="centerCrop" | |
android:background="#2d2d2d"/> | |
<TextView | |
android:id="@+id/book_title_id" | |
android:textColor="#2d2d2d" | |
android:textSize="13sp" | |
android:gravity="center" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:text="Book Title"/> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment