mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 17:05:07 +01:00
Better blending of chapter list when expaning reader chapter sheet
This commit is contained in:
parent
729f984413
commit
6ba29d32d8
22
app/src/main/res/drawable/transparent_item_selector.xml
Normal file
22
app/src/main/res/drawable/transparent_item_selector.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:color="@color/fullRippleColor">
|
||||||
|
<item android:id="@android:id/mask">
|
||||||
|
<color android:color="@color/fullRippleColor" />
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<selector>
|
||||||
|
<item android:state_selected="true">
|
||||||
|
<color android:color="@color/fullRippleColor" />
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item android:state_activated="true">
|
||||||
|
<color android:color="@color/fullRippleColor" />
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item android:id="@android:id/mask">
|
||||||
|
<color android:color="@android:color/transparent" />
|
||||||
|
</item>
|
||||||
|
</selector>
|
||||||
|
</item>
|
||||||
|
</ripple>
|
@ -4,7 +4,7 @@
|
|||||||
android:id="@+id/reader_chapter_layout"
|
android:id="@+id/reader_chapter_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="60dp"
|
android:layout_height="60dp"
|
||||||
android:background="@drawable/list_item_selector"
|
android:background="@drawable/transparent_item_selector"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/topbar_layout"
|
android:id="@+id/topbar_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -77,7 +79,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:alpha="0"
|
android:alpha="0"
|
||||||
android:background="?android:attr/colorBackground"
|
android:background="@android:color/transparent"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
tools:listitem="@layout/reader_chapter_item" />
|
tools:listitem="@layout/reader_chapter_item" />
|
||||||
</eu.kanade.tachiyomi.ui.reader.ReaderChapterSheet>
|
</eu.kanade.tachiyomi.ui.reader.ReaderChapterSheet>
|
Loading…
Reference in New Issue
Block a user