mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 07:09:20 +01:00
415df2357c
* Use Kotlin JDK8 * Satisfy a ton of lints * Run res/layout files (and manifest) through reformatter
63 lines
2.5 KiB
XML
63 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/material_component_lists_two_line_height"
|
|
android:background="@drawable/list_item_selector"
|
|
android:paddingEnd="16dp">
|
|
|
|
<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
|
|
android:id="@+id/manga_title"
|
|
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_toEndOf="parent"
|
|
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_text"
|
|
app:layout_constraintStart_toEndOf="@+id/manga_cover"
|
|
app:layout_constraintTop_toBottomOf="@+id/manga_title"
|
|
tools:text="Chapter title" />
|
|
|
|
<TextView
|
|
android:id="@+id/download_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textAllCaps="true"
|
|
android:textSize="12sp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/manga_title"
|
|
tools:text="Downloaded" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|