|
|
@ -59,8 +59,8 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
|
|
|
|
android:background="?android:attr/colorBackground"
|
|
|
|
android:background="?android:attr/colorBackground"
|
|
|
|
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:maxHeight="60dp"
|
|
|
|
android:maxHeight="60dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
@ -85,10 +85,13 @@
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/subtitle"
|
|
|
|
|
|
|
|
app:layout_constraintVertical_chainStyle="packed"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/card_layout"
|
|
|
|
app:flow_verticalBias="0.0"
|
|
|
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/card_layout"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:text="New Chapter" />
|
|
|
|
tools:text="New Chapter" />
|
|
|
|
|
|
|
|
|
|
|
@ -98,7 +101,6 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
android:layout_marginBottom="14dp"
|
|
|
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:singleLine="true"
|
|
|
@ -109,7 +111,7 @@
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/title"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/title"
|
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/body"
|
|
|
|
tools:text="Manga title" />
|
|
|
|
tools:text="Manga title" />
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
|
|
@ -118,20 +120,27 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:layout_marginEnd="6dp"
|
|
|
|
android:layout_marginBottom="14dp"
|
|
|
|
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:lineSpacingExtra="2dp"
|
|
|
|
android:lineSpacingExtra="2dp"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/space"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/button_layout"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/button_layout"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/title"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/subtitle"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/subtitle"
|
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
|
|
tools:text="3 Days ago" />
|
|
|
|
tools:text="3 Days ago" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Space
|
|
|
|
|
|
|
|
android:id="@+id/space"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/bottom_line"
|
|
|
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/body" />
|
|
|
|
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress"
|
|
|
|
android:id="@+id/progress"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
@ -149,7 +158,7 @@
|
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/subtitle" />
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/subtitle" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/button_layout"
|
|
|
|
android:id="@+id/button_layout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
@ -157,8 +166,8 @@
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/subtitle" >
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/subtitle">
|
|
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/remove_history"
|
|
|
|
android:id="@+id/remove_history"
|
|
|
|
android:layout_width="45dp"
|
|
|
|
android:layout_width="45dp"
|
|
|
@ -166,15 +175,16 @@
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
|
|
android:contentDescription="@string/next_title"
|
|
|
|
android:contentDescription="@string/next_title"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:padding="8dp"
|
|
|
|
app:tint="@color/holo_red"
|
|
|
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
|
|
|
|
|
|
android:tooltipText="@string/reset_chapter_history"
|
|
|
|
android:tooltipText="@string/reset_chapter_history"
|
|
|
|
app:srcCompat="@drawable/ic_eye_remove_outline_24dp" />
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread"
|
|
|
|
<include
|
|
|
|
app:srcCompat="@drawable/ic_eye_remove_outline_24dp"
|
|
|
|
layout="@layout/download_button"
|
|
|
|
app:tint="@color/holo_red" />
|
|
|
|
android:id="@+id/download_button"
|
|
|
|
|
|
|
|
android:layout_width="45dp"
|
|
|
|
<include
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
android:id="@+id/download_button"
|
|
|
|
|
|
|
|
layout="@layout/download_button"
|
|
|
|
|
|
|
|
android:layout_width="45dp"
|
|
|
|
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
|
@ -184,7 +194,7 @@
|
|
|
|
android:layout_margin="6dp"
|
|
|
|
android:layout_margin="6dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:barrierDirection="bottom"
|
|
|
|
app:barrierDirection="bottom"
|
|
|
|
app:constraint_referenced_ids="card_layout,body" />
|
|
|
|
app:constraint_referenced_ids="space,card_layout" />
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
<View
|
|
|
|
android:id="@+id/padding"
|
|
|
|
android:id="@+id/padding"
|
|
|
|