2015-11-04 18:54:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-23 18:42:10 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2016-07-02 14:12:52 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-22 16:10:41 +02:00
|
|
|
android:paddingTop="8dp">
|
2016-07-02 14:12:52 +02:00
|
|
|
|
2020-02-23 18:42:10 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reorder"
|
2021-05-22 16:10:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_gravity="start"
|
2021-05-22 16:10:41 +02:00
|
|
|
android:padding="16dp"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:scaleType="center"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-05-23 16:23:44 +02:00
|
|
|
app:srcCompat="@drawable/ic_drag_handle_24dp"
|
|
|
|
app:tint="?android:attr/textColorHint" />
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2016-07-02 14:12:52 +02:00
|
|
|
<TextView
|
2020-02-23 18:42:10 +01:00
|
|
|
android:id="@+id/manga_full_title"
|
|
|
|
android:layout_width="0dp"
|
2015-11-04 18:54:07 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_toEndOf="@id/reorder"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:ellipsize="end"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:maxLines="1"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Body1"
|
2020-02-23 18:42:10 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/download_progress_text"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/reorder"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:text="Manga title" />
|
2016-07-02 14:12:52 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_title"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_width="0dp"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_marginTop="4dp"
|
2021-05-22 18:02:49 +02:00
|
|
|
android:layout_marginEnd="8dp"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_toEndOf="@id/reorder"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:ellipsize="end"
|
2020-02-22 00:43:50 +01:00
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption"
|
2021-01-23 16:15:30 +01:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/manga_source"
|
2020-02-23 18:42:10 +01:00
|
|
|
app:layout_constraintStart_toStartOf="@+id/manga_full_title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/manga_full_title"
|
2020-02-22 00:43:50 +01:00
|
|
|
tools:text="Chapter Title" />
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2020-12-26 16:39:09 +01:00
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
2016-05-12 14:28:44 +02:00
|
|
|
android:id="@+id/download_progress"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_width="0dp"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-05-19 04:38:59 +02:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2020-02-23 18:42:10 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/reorder"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/chapter_title" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/download_progress_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toEndOf="@id/manga_full_title"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption.Hint"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/manga_full_title"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/manga_full_title"
|
|
|
|
tools:text="(0/10)" />
|
|
|
|
|
2021-01-23 16:15:30 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/manga_source"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toEndOf="@id/chapter_title"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption.Hint"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/chapter_title"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/menu"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/chapter_title"
|
|
|
|
tools:text="Manga Source" />
|
|
|
|
|
2020-02-23 18:42:10 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/menu"
|
2021-05-22 16:10:41 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:layout_toEndOf="@id/download_progress_text"
|
2021-05-22 17:55:05 +02:00
|
|
|
android:background="@drawable/ripple_regular"
|
2020-02-23 18:42:10 +01:00
|
|
|
android:contentDescription="@string/action_menu"
|
2021-05-22 16:10:41 +02:00
|
|
|
android:paddingHorizontal="10dp"
|
2021-05-22 18:02:49 +02:00
|
|
|
android:paddingVertical="16dp"
|
2020-02-23 18:42:10 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-05-29 04:35:35 +02:00
|
|
|
app:srcCompat="@drawable/ic_overflow_24dp"
|
2020-02-23 18:42:10 +01:00
|
|
|
app:tint="?attr/colorOnBackground" />
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2020-02-23 18:42:10 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|