2015-09-26 14:25:18 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-24 18:45:53 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-09-26 14:25:18 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:background="@drawable/selector_chapter_light">
|
2015-09-26 14:25:18 +02:00
|
|
|
|
2015-11-24 18:45:53 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_toLeftOf="@+id/chapter_download_image"
|
|
|
|
android:layout_toStartOf="@+id/chapter_download_image">
|
2015-09-26 14:25:18 +02:00
|
|
|
|
|
|
|
<TextView
|
2015-11-24 18:45:53 +01:00
|
|
|
android:id="@+id/chapter_pages"
|
2015-09-26 14:25:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="Pages: 45" />
|
2015-09-26 14:25:18 +02:00
|
|
|
|
|
|
|
<TextView
|
2015-11-24 18:45:53 +01:00
|
|
|
android:id="@+id/chapter_date"
|
2015-09-26 14:25:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="12sp"
|
|
|
|
tools:text="22/02/2016"
|
|
|
|
android:layout_alignParentRight="true" />
|
|
|
|
</RelativeLayout>
|
2015-09-26 14:25:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2015-11-24 18:45:53 +01:00
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="20sp"
|
|
|
|
tools:text="Title"
|
|
|
|
android:layout_toLeftOf="@+id/chapter_download_image"
|
|
|
|
android:layout_toStartOf="@+id/chapter_download_image" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/chapter_download_image"
|
2015-09-26 14:25:18 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-11-24 18:45:53 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
tools:src="@drawable/ic_file_download_black_48dp"
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|