This commit is contained in:
kunfei
2022-10-27 20:25:20 +08:00
parent a35a3f4b4c
commit 353a68ab77
19 changed files with 112 additions and 38 deletions
+7
View File
@@ -25,6 +25,13 @@
android:title="@string/edit_book_source"
app:showAsAction="never" />
<item
android:id="@+id/menu_wake_lock"
android:title="@string/audio_play_wake_lock"
android:checkable="true"
app:showAsAction="never" />
<item
android:id="@+id/menu_log"
android:title="@string/log"
+6 -2
View File
@@ -1045,8 +1045,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1048,8 +1048,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1048,8 +1048,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1045,8 +1045,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1047,8 +1047,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1047,8 +1047,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
+6 -2
View File
@@ -1048,8 +1048,12 @@
<string name="sure_clear_search_history">是否确认清除所有搜索历史记录</string>
<string name="no_anim_scroll_page">禁用滚动点击动画</string>
<string name="webdav_device_name">设备名称</string>
<string name="wake_lock">唤醒锁</string>
<string name="wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="web_service_wake_lock">WebService唤醒锁</string>
<string name="web_service_wake_lock_summary">开启web服务的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="read_aloud_wake_lock">朗读服务唤醒锁</string>
<string name="read_aloud_wake_lock_summary">开启朗读的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="audio_play_wake_lock">音频服务唤醒锁</string>
<string name="audio_play_wake_lock_summary">播放音频的时候启用唤醒锁,有些手机开启唤醒锁会被杀后台</string>
<string name="change_search_scope">切换搜索范围</string>
<string name="copy_rule">拷贝规则</string>
<string name="paste_rule">粘贴规则</string>
@@ -8,6 +8,13 @@
app:allowDividerBelow="false"
app:iconSpaceReserved="false">
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="false"
android:title="@string/read_aloud_wake_lock"
android:summary="@string/read_aloud_wake_lock_summary"
android:key="readAloudWakeLock"
app:iconSpaceReserved="false" />
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="false"
android:title="@string/pref_media_button_per_next"
+3 -3
View File
@@ -58,9 +58,9 @@
<io.legado.app.lib.prefs.SwitchPreference
android:defaultValue="false"
android:key="wakeLock"
android:title="@string/wake_lock"
android:summary="@string/wake_lock_summary" />
android:key="webServiceWakeLock"
android:title="@string/web_service_wake_lock"
android:summary="@string/web_service_wake_lock_summary" />
<io.legado.app.lib.prefs.Preference
android:key="defaultBookTreeUri"