2020-04-15 05:56:50 +02:00
|
|
|
<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:id="@+id/reader_chapter_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
2020-05-08 08:18:57 +02:00
|
|
|
android:background="@drawable/transparent_item_selector"
|
2020-04-15 05:56:50 +02:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_title"
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Body2"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/chapter_scanlator"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/bookmark_layout"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="Chapter 123 - The Real One" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/chapter_scanlator"
|
|
|
|
style="@style/TextAppearance.MaterialComponents.Caption"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginBottom="12dp"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/bookmark_layout"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/chapter_title"
|
|
|
|
tools:text="3 days ago • On page 45 • Scanlator" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bookmark_layout"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:background="@drawable/rounded_ripple"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:src="@drawable/ic_bookmark_24dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/bookmark_image"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/ic_bookmark_border_24dp"
|
2020-04-22 19:31:02 +02:00
|
|
|
android:tint="?android:attr/textColorHint" />
|
2020-04-15 05:56:50 +02:00
|
|
|
</FrameLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|