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

48 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2020-02-22 07:43:50 +08:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2016-07-02 20:12:52 +08:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/material_layout_keylines_screen_edge_margin"
2020-02-22 07:43:50 +08:00
android:paddingTop="@dimen/material_component_lists_padding_above_list"
android:paddingEnd="@dimen/material_layout_keylines_screen_edge_margin">
2016-07-02 20:12:52 +08:00
<TextView
android:id="@+id/download_progress_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
2016-07-02 20:12:52 +08:00
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Regular.Caption.Hint"
2020-02-22 07:43:50 +08:00
tools:text="(0/10)" />
2016-07-02 20:12:52 +08:00
<TextView
android:id="@+id/manga_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
2020-02-22 07:43:50 +08:00
android:layout_toStartOf="@id/download_progress_text"
2016-07-02 20:12:52 +08:00
android:ellipsize="end"
2020-02-22 07:43:50 +08:00
android:maxLines="1"
2016-07-02 20:12:52 +08:00
android:textAppearance="@style/TextAppearance.Regular.Body1"
2020-02-22 07:43:50 +08:00
tools:text="Manga title" />
2016-07-02 20:12:52 +08:00
<TextView
android:id="@+id/chapter_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/manga_title"
android:ellipsize="end"
2020-02-22 07:43:50 +08:00
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Regular.Caption"
tools:text="Chapter Title" />
<ProgressBar
2016-05-12 20:28:44 +08:00
android:id="@+id/download_progress"
2020-02-22 07:43:50 +08:00
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
2016-07-02 20:12:52 +08:00
android:layout_height="wrap_content"
2020-02-22 07:43:50 +08:00
android:layout_below="@id/chapter_title" />
</RelativeLayout>