2015-09-26 15:25:18 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
2015-11-02 16:42:08 +03:00
|
|
|
android:layout_height="40dp"
|
|
|
|
android:background="?attr/selectableItemBackground">
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/chapter_download_image"
|
2015-09-28 16:02:46 +03:00
|
|
|
tools:src="@mipmap/ic_launcher"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
tools:text="Chapter 32"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textStyle="bold"
|
2015-09-28 16:02:46 +03:00
|
|
|
android:textSize="16sp"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/chapter_pages"
|
|
|
|
tools:text="Pages: 45"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
2015-09-28 16:02:46 +03:00
|
|
|
android:textSize="12sp"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/chapter_date"
|
|
|
|
tools:text="22/02/2016"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:textSize="12sp"
|
2015-09-28 16:02:46 +03:00
|
|
|
android:paddingRight="5dp"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
</LinearLayout>
|