2015-11-04 18:54:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-04-03 07:04:44 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-07-02 14:12:52 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-03 07:04:44 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2016-07-02 14:12:52 +02:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/right_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:background="@color/red_error">
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close_right"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:tint="@color/md_white_1000"
|
|
|
|
android:layout_gravity="end|center"
|
|
|
|
android:layout_marginEnd="21dp"
|
|
|
|
android:src="@drawable/ic_close_white_24dp" />
|
|
|
|
</FrameLayout>
|
2016-07-02 14:12:52 +02:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/left_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:background="@color/red_error">
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/close_left"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="start|center"
|
|
|
|
android:layout_marginStart="21dp"
|
|
|
|
android:tint="@color/md_white_1000"
|
|
|
|
android:src="@drawable/ic_close_white_24dp" />
|
|
|
|
</FrameLayout>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:id="@+id/front_view"
|
2020-01-08 08:32:30 +01:00
|
|
|
android:layout_height="wrap_content"
|
2020-04-03 07:04:44 +02:00
|
|
|
android:background="?android:attr/colorBackground"
|
|
|
|
android:paddingTop="@dimen/material_component_lists_padding_above_list">
|
2020-01-08 08:32:30 +01:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/reorder"
|
|
|
|
android:layout_width="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:contentDescription="@string/action_reorganize_by"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:tint="?android:attr/textColorPrimary"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_reorder_grey_24dp" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/manga_full_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_toEndOf="@id/reorder"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Body1"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/download_progress_text"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/reorder"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Manga title" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_toEndOf="@id/reorder"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/migration_menu"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/manga_full_title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/manga_full_title"
|
|
|
|
tools:text="Chapter Title" />
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/download_progress"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/migration_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/migration_menu"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/manga_full_title"
|
|
|
|
tools:text="(0/10)" />
|
2015-11-04 18:54:07 +01:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/migration_menu"
|
|
|
|
android:layout_width="44dp"
|
|
|
|
android:layout_height="@dimen/material_component_lists_single_line_with_avatar_height"
|
|
|
|
android:layout_toEndOf="@id/download_progress_text"
|
|
|
|
android:contentDescription="@string/description_cover"
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@drawable/ic_more_vert_black_24dp" />
|
2019-12-22 21:13:22 +01:00
|
|
|
|
2020-04-03 07:04:44 +02:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</FrameLayout>
|