同步上游更改: @lhjgege

新漫画增加墨水屏模式 (#5181)
* 新漫画增加墨水屏模式
* 增加水平滚动动画开关
This commit is contained in:
lhjgege authored and HapeLee committed 2025-07-11 13:40:10 +08:00
1 parent 329cdac774
commit 06dd2ac2c1
16 files changed
+463 -29

No files matched your search

@@ -14,7 +14,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:text="滤镜"
android:text="@string/manga_color_filter"
android:textSize="18sp" />
<io.legato.kazusa.ui.widget.DetailSeekBar
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingBottom="8dp"
android:text="@string/manga_epaper_stting"
android:textSize="18sp" />
<io.legato.kazusa.ui.widget.DetailSeekBar
android:id="@+id/dsb_epaper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:max="255"
app:title="@string/manga_epaper_value" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
+43 -12
View File
@@ -98,20 +98,51 @@
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
<com.google.android.material.card.MaterialCardView
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:strokeWidth="0dp"
app:cardBackgroundColor="?attr/colorPrimaryContainer">
<TextView
android:id="@+id/tv_abi"
android:layout_width="match_parent"
android:gravity="center_vertical"
android:orientation="horizontal">
<com.google.android.material.card.MaterialCardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="ABI: arm64-v8a"
android:textColor="?attr/colorOnSurfaceVariant"
android:textAppearance="?attr/textAppearanceBodySmall" />
</com.google.android.material.card.MaterialCardView>
app:cardBackgroundColor="?attr/colorPrimaryContainer"
app:strokeWidth="0dp">
<TextView
android:id="@+id/tv_abi"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="ABI: arm64-v8a"
android:textAppearance="?attr/textAppearanceBodySmall"
android:textColor="?attr/colorOnSurfaceVariant" />
</com.google.android.material.card.MaterialCardView>
<View
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginHorizontal="8dp"
android:layout_weight="1"
android:background="?attr/colorSecondary" />
<com.google.android.material.card.MaterialCardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardBackgroundColor="?attr/colorPrimaryContainer"
app:strokeWidth="0dp">
<TextView
android:id="@+id/tv_variable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="123"
android:textAppearance="?attr/textAppearanceBodyMedium" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
<TextView
android:id="@+id/tv_url"