mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 20:21:49 +01:00
fixed not being able to go the manga details on recents if there wasn't a cover
also covers now have a ripple effect on click
This commit is contained in:
parent
c2f7c25d70
commit
e20ea71403
@ -21,7 +21,7 @@ class RecentMangaHolder(
|
||||
) : BaseChapterHolder(view, adapter) {
|
||||
|
||||
init {
|
||||
cover_thumbnail?.setOnClickListener { adapter.delegate.onCoverClick(adapterPosition) }
|
||||
card_layout?.setOnClickListener { adapter.delegate.onCoverClick(adapterPosition) }
|
||||
}
|
||||
|
||||
fun bind(recentsType: Int) {
|
||||
|
@ -11,8 +11,8 @@
|
||||
android:id="@+id/right_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="@color/material_green_800"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@ -22,10 +22,10 @@
|
||||
android:id="@+id/read"
|
||||
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_eye_24dp" />
|
||||
android:src="@drawable/ic_eye_24dp"
|
||||
android:tint="@color/md_white_1000" />
|
||||
</FrameLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
@ -59,13 +59,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:background="?android:attr/colorBackground"
|
||||
android:maxHeight="60dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:background="?android:attr/colorBackground"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:src="@mipmap/ic_launcher" />
|
||||
|
||||
@ -120,8 +120,8 @@
|
||||
android:layout_marginEnd="6dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="2"
|
||||
android:lineSpacingExtra="2dp"
|
||||
android:maxLines="2"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:textSize="14sp"
|
||||
app:layout_constrainedWidth="true"
|
||||
|
Loading…
Reference in New Issue
Block a user