修复漫画阅读点击翻页的一些问题

新增设置某漫画阅读模式为默认值的功能
新增长按保存图片的开关
This commit is contained in:
HapeLee committed 2025-10-20 23:18:17 +08:00
1 parent e56ca0a11a
commit 3615c84619
10 files changed
+76 -29

No files matched your search

+2 -2
View File
@@ -71,7 +71,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical"
android:visibility="visible">
android:visibility="gone">
<io.legato.kazusa.ui.widget.EmptyMessageView
android:id="@+id/tv_msg2"
@@ -89,7 +89,7 @@
android:layout_margin="16dp"
app:iconPadding="4dp"
android:text="@string/load_error_retry"
tools:visibility="visible" />
/>
</LinearLayout>
</FrameLayout>
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
@@ -40,10 +41,20 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingVertical="8dp"
android:paddingTop="8dp"
android:text="@string/read_type"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="16dp"
android:paddingBottom="8dp"
android:textSize="9sp"
android:text="@string/read_type_long"
android:textStyle="bold"
tools:ignore="SmallSp" />
<com.google.android.material.chip.ChipGroup
android:id="@+id/chipGroupScrollMode"
android:layout_width="match_parent"
@@ -250,6 +261,12 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/volume_key_page" />
<com.google.android.material.checkbox.MaterialCheckBox
android:id="@+id/checkboxMangaLongClick"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/manga_long_click" />
</LinearLayout>
<com.google.android.material.button.MaterialButtonGroup
@@ -3,6 +3,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_marginVertical="8dp"
android:orientation="vertical">
@@ -38,10 +39,12 @@
android:id="@+id/tv_seek_value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="12dp"
android:textStyle="bold"
android:textSize="11sp"
android:paddingHorizontal="8dp"
android:paddingVertical="4dp"
android:singleLine="true"
android:text="" />
tools:text="123" />
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
+2
View File
@@ -1301,4 +1301,6 @@
<string name="restart_later_message">更改将在下次启动应用时生效</string>
<string name="search_select_group">选择书源分组</string>
<string name="day_night_switch">深浅色模式开关</string>
<string name="manga_long_click">长按保存图片</string>
<string name="read_type_long">长按设置为全局默认模式</string>
</resources>
+2
View File
@@ -1302,4 +1302,6 @@
<string name="restart_later_message">稍后重启</string>
<string name="search_select_group">选择书源分组</string>
<string name="day_night_switch">深浅色模式开关</string>
<string name="manga_long_click">长按保存图片</string>
<string name="read_type_long">长按设置为全局默认模式</string>
</resources>