目录卷快速跳转与展开 #230、#212、#195

This commit is contained in:
HapeLee committed 2025-11-05 22:08:14 +08:00
1 parent 27ce9452d6
commit f2d0e149ce
7 files changed
+226 -5

No files matched your search

@@ -25,7 +25,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp">
android:layout_marginStart="16dp"
android:layout_marginEnd="12dp">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
@@ -37,12 +38,17 @@
app:tabMode="fixed" />
<com.google.android.material.button.MaterialButton
android:layout_width="32dp"
android:layout_height="32dp"
android:id="@+id/btn_chapterMenu"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginStart="4dp"
android:visibility="gone"
app:iconSize="16dp"
android:clickable="true"
android:checkable="true"
android:layout_gravity="center_vertical"
app:icon="@drawable/ic_toc"
style="@style/Widget.Material3Expressive.Button.IconButton.Tonal"/>
style="@style/Widget.Material3Expressive.Button.IconButton.Outlined"/>
</LinearLayout>
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_toggle_volumes"
android:title="" />
<item
android:id="@+id/action_toggle_selection"
android:title="" />
<item
android:id="@+id/action_jump_to_volume_section"
android:title="@string/jump_to_volume"
android:enabled="false" />
</menu>
+4
View File
@@ -1326,4 +1326,8 @@
<string name="sort_name_asc">名称升序</string>
<string name="sort_name_desc">名称降序</string>
<string name="text_dottedline">文字下划虚线</string>
<string name="jump_to_volume">跳转到卷</string>
<string name="cancel_select">取消选择</string>
<string name="coll_volume">折叠所有卷</string>
<string name="expand_volume">展开所有卷</string>
</resources>
+4
View File
@@ -1327,4 +1327,8 @@
<string name="sort_name_asc">名称升序</string>
<string name="sort_name_desc">名称降序</string>
<string name="text_dottedline">文字下划虚线</string>
<string name="jump_to_volume">跳转到卷</string>
<string name="cancel_select">取消选择</string>
<string name="coll_volume">折叠所有卷</string>
<string name="expand_volume">展开所有卷</string>
</resources>