tachiyomi/app/src/main/res/layout/item_chapter.xml

57 lines
1.8 KiB
XML
Raw Normal View History

2015-09-26 14:25:18 +02: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-09-28 15:02:46 +02:00
android:layout_height="40dp">
2015-09-26 14:25:18 +02:00
<CheckBox
android:layout_width="wrap_content"
android:layout_height="match_parent"
2015-09-28 15:02:46 +02:00
android:id="@+id/chapter_selection"/>
2015-09-26 14:25:18 +02:00
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/chapter_download_image"
2015-09-28 15:02:46 +02:00
tools:src="@mipmap/ic_launcher"/>
2015-09-26 14:25:18 +02: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 15:02:46 +02:00
android:textSize="16sp"/>
2015-09-26 14:25:18 +02: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 15:02:46 +02:00
android:textSize="12sp"/>
2015-09-26 14:25:18 +02: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 15:02:46 +02:00
android:paddingRight="5dp"/>
2015-09-26 14:25:18 +02:00
</LinearLayout>