2015-09-26 15:25:18 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-24 20:45:53 +03:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-09-26 15:25:18 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
|
|
android:padding="6dip"
|
|
|
|
android:background="@drawable/selector_chapter_light">
|
2015-09-26 15:25:18 +03:00
|
|
|
|
2015-11-24 20:45:53 +03:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="fill_parent"
|
2015-11-30 20:45:45 +03:00
|
|
|
android:layout_height="18dp"
|
|
|
|
android:id="@+id/relativeLayout"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_alignParentBottom="true"
|
2015-11-30 20:45:45 +03:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true">
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<TextView
|
2015-11-24 20:45:53 +03:00
|
|
|
android:id="@+id/chapter_pages"
|
2015-09-26 15:25:18 +03:00
|
|
|
android:layout_width="wrap_content"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="12sp"
|
2015-11-30 20:45:45 +03:00
|
|
|
tools:text="Pages: 45"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_centerHorizontal="true"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<TextView
|
2015-11-24 20:45:53 +03:00
|
|
|
android:id="@+id/chapter_date"
|
2015-09-26 15:25:18 +03:00
|
|
|
android:layout_width="wrap_content"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textSize="12sp"
|
2015-11-30 20:45:45 +03:00
|
|
|
tools:text="22/02/2016"/>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
2015-11-30 20:45:45 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/download_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textColor="@color/accent_text"
|
|
|
|
android:text="@string/chapter_downloaded"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"/>
|
|
|
|
</RelativeLayout>
|
2015-09-26 15:25:18 +03:00
|
|
|
|
|
|
|
<TextView
|
2015-11-24 20:45:53 +03:00
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignWithParentIfMissing="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="20sp"
|
2015-11-30 20:45:45 +03:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2015-11-24 20:45:53 +03:00
|
|
|
tools:text="Title"
|
2015-11-30 20:45:45 +03:00
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_toStartOf="@+id/relativeLayout2"
|
|
|
|
android:layout_toLeftOf="@+id/relativeLayout2"/>
|
2015-11-24 20:45:53 +03:00
|
|
|
|
2015-11-30 20:45:45 +03:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2015-11-24 20:45:53 +03:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center"
|
2015-11-30 20:45:45 +03:00
|
|
|
android:id="@+id/relativeLayout2"
|
|
|
|
android:layout_above="@+id/relativeLayout">
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/chapter_menu"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
android:src="@drawable/ic_more_horiz_black_36dp"
|
|
|
|
android:background="?android:selectableItemBackground"/>
|
|
|
|
</RelativeLayout>
|
2015-11-24 20:45:53 +03:00
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout>
|