2016-01-18 18:04:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-04-05 02:18:27 +02:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-08 13:06:40 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-04-05 02:18:27 +02:00
|
|
|
android:layout_height="@dimen/material_component_lists_two_line_height">
|
2016-01-18 18:04:07 +01:00
|
|
|
|
2017-05-08 13:06:40 +02:00
|
|
|
<FrameLayout
|
2020-04-05 02:18:27 +02:00
|
|
|
android:id="@+id/right_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:background="@color/material_green_800"
|
2017-05-08 13:06:40 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-01-10 01:10:55 +01:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2020-04-05 02:18:27 +02:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2017-05-08 13:06:40 +02:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2016-02-18 17:23:17 +01:00
|
|
|
|
2017-05-08 13:06:40 +02:00
|
|
|
<ImageView
|
2020-04-05 02:18:27 +02:00
|
|
|
android:id="@+id/read"
|
2016-02-18 17:23:17 +01:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
2020-04-05 02:18:27 +02:00
|
|
|
android:tint="@color/md_white_1000"
|
|
|
|
android:layout_gravity="end|center"
|
|
|
|
android:layout_marginEnd="21dp"
|
2020-04-14 05:18:00 +02:00
|
|
|
android:src="@drawable/ic_eye_24dp" />
|
2017-05-08 13:06:40 +02:00
|
|
|
</FrameLayout>
|
2016-02-18 17:23:17 +01:00
|
|
|
|
2020-04-05 02:18:27 +02:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/front_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/material_component_lists_two_line_height"
|
2020-04-20 02:46:53 +02:00
|
|
|
android:background="@drawable/list_item_selector">
|
2020-04-05 02:18:27 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/manga_cover"
|
|
|
|
android:layout_width="56dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:src="@mipmap/ic_launcher" />
|
|
|
|
|
|
|
|
<TextView
|
2020-04-17 02:41:07 +02:00
|
|
|
android:id="@+id/title"
|
2020-04-05 02:18:27 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Body1"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/chapter_title"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/download_button"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/manga_cover"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
tools:text="Manga title" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textAppearance="@style/TextAppearance.Regular.Caption"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/download_button"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/manga_cover"
|
2020-04-17 02:41:07 +02:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
2020-04-05 02:18:27 +02:00
|
|
|
tools:text="Chapter title" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/download_button"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</FrameLayout>
|