2015-11-04 18:54:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-07-02 14:12:52 +02:00
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-12-22 21:13:22 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingRight="@dimen/material_layout_keylines_screen_edge_margin"
|
|
|
|
android:paddingTop="@dimen/material_component_lists_padding_above_list">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/download_progress_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption.Hint"
|
|
|
|
tools:text="(0/10)"/>
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2016-07-02 14:12:52 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/manga_title"
|
2015-11-04 18:54:07 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_toLeftOf="@id/download_progress_text"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
2019-12-22 21:13:22 +01:00
|
|
|
android:layout_marginStart="@dimen/material_component_lists_single_line_with_avatar_height"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Body1"
|
|
|
|
tools:text="Manga title"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/manga_title"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
tools:text="Chapter Title"
|
2019-12-22 21:13:22 +01:00
|
|
|
android:layout_marginStart="@dimen/material_component_lists_single_line_with_avatar_height"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption"/>
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2015-11-05 00:50:39 +01:00
|
|
|
<ProgressBar
|
2016-05-12 14:28:44 +02:00
|
|
|
android:id="@+id/download_progress"
|
2015-11-05 00:50:39 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/chapter_title"
|
2019-12-22 21:13:22 +01:00
|
|
|
android:layout_marginStart="@dimen/material_component_lists_single_line_with_avatar_height"
|
2016-07-02 14:12:52 +02:00
|
|
|
style="?android:attr/progressBarStyleHorizontal"/>
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2019-12-22 21:13:22 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reorder"
|
|
|
|
android:layout_width="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:tint="?android:attr/textColorPrimary"
|
|
|
|
app:srcCompat="@drawable/ic_reorder_grey_24dp" />
|
|
|
|
|
2016-07-02 14:12:52 +02:00
|
|
|
</RelativeLayout>
|