Last active
May 13, 2018 10:29
-
-
Save ashishkudale/8015fd0ba39d57e0a49b8a8b8bc22289 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"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<android.support.v7.widget.CardView | |
xmlns:card_view="http://schemas.android.com/apk/res-auto" | |
android:id="@+id/card_view" | |
android:layout_margin="5dp" | |
android:layout_gravity="center" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
card_view:cardCornerRadius="4dp"> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_margin="2dp"> | |
<ImageView | |
android:layout_width="100dp" | |
android:layout_height="80dp" | |
android:id="@+id/ivChapter" | |
android:layout_margin="10dp" /> | |
<TextView | |
android:id="@+id/tvChapterName" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginBottom="5dp" | |
android:layout_marginLeft="10dp" | |
android:layout_marginRight="10dp" | |
android:layout_marginTop="5dp" | |
android:ellipsize="end" | |
android:singleLine="true" /> | |
</LinearLayout> | |
</android.support.v7.widget.CardView> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment