Merge remote-tracking branch 'source/master'
This commit is contained in:
@@ -33,6 +33,13 @@
|
||||
android:checked="true"
|
||||
android:text="@string/discovery" />
|
||||
|
||||
<io.legado.app.lib.theme.view.ThemeCheckBox
|
||||
android:id="@+id/cb_is_enable_cookie"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="true"
|
||||
android:text="@string/auto_save_cookie" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -45,6 +45,13 @@
|
||||
android:text="@string/single_url"
|
||||
tools:ignore="TouchTargetSizeCheck" />
|
||||
|
||||
<io.legado.app.lib.theme.view.ThemeCheckBox
|
||||
android:id="@+id/cb_is_enable_cookie"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="true"
|
||||
android:text="@string/auto_save_cookie" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/cb_file_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/primaryText"
|
||||
android:textSize="14sp"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
app:layout_constraintHorizontal_chainStyle="packed"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="TouchTargetSizeCheck" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -21,6 +21,11 @@
|
||||
android:title="@string/login"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_clear_cookie"
|
||||
android:title="@string/cookie"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_auto_complete"
|
||||
android:title="@string/auto_complete"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<item>Texto</item>
|
||||
<item>Audio</item>
|
||||
<item>Image</item>
|
||||
<item>File</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -978,5 +978,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -981,5 +981,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<item>Texto</item>
|
||||
<item>Áudio</item>
|
||||
<item>Image</item>
|
||||
<item>File</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -981,5 +981,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<item>文本</item>
|
||||
<item>音頻</item>
|
||||
<item>图片</item>
|
||||
<item>文件</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -978,5 +978,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<item>文字</item>
|
||||
<item>音訊</item>
|
||||
<item>图片</item>
|
||||
<item>文件</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -980,5 +980,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<item>文本</item>
|
||||
<item>音频</item>
|
||||
<item>图片</item>
|
||||
<item>文件</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -980,5 +980,9 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<item>Text</item>
|
||||
<item>Audio</item>
|
||||
<item>Image</item>
|
||||
<item>File</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="group_style">
|
||||
|
||||
@@ -988,5 +988,10 @@
|
||||
<string name="import_tts">导入TTS</string>
|
||||
<string name="import_theme">导入主题</string>
|
||||
<string name="import_txt_toc_rule">导入txt目录规则</string>
|
||||
<string name="auto_save_cookie">CookieJar</string>
|
||||
<string name="click_read_button_load">点击阅读加载目录</string>
|
||||
<string name="cookie">清除cookie</string>
|
||||
<string name="download_and_import_file">导入在线书籍文件</string>
|
||||
|
||||
<!-- string end -->
|
||||
</resources>
|
||||
|
||||
@@ -2,82 +2,82 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="contributors"
|
||||
android:summary="@string/contributors_summary"
|
||||
android:title="@string/contributors"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="update_log"
|
||||
android:title="@string/update_log"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="check_update"
|
||||
android:title="@string/check_update"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/contact"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="gzGzh"
|
||||
android:summary="@string/official_account"
|
||||
android:title="@string/follow_official_account"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="qqChannel"
|
||||
android:title="@string/join_qq_channel"
|
||||
android:summary="@string/qq_channel_summary"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="qq"
|
||||
android:summary="@string/click_to_apply"
|
||||
android:title="@string/join_qq_group"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="mail"
|
||||
android:summary="@string/email"
|
||||
android:title="@string/send_mail"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="git"
|
||||
android:summary="@string/this_github_url"
|
||||
android:title="@string/git_hub"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="discord"
|
||||
android:summary="@string/discord_url"
|
||||
android:title="Discord"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="tg"
|
||||
android:summary="@string/tg_url"
|
||||
android:title="TG"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="sourceRuleSummary"
|
||||
android:summary="@string/source_rule_url"
|
||||
android:title="@string/source_rule_s"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="home_page"
|
||||
android:summary="@string/home_page_url"
|
||||
android:title="@string/home_page"
|
||||
@@ -85,30 +85,30 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/other"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="crashLog"
|
||||
android:title="@string/crash_log"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="license"
|
||||
android:title="@string/license"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="disclaimer"
|
||||
android:title="@string/disclaimer"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,20 +2,20 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/wechat"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="gzGzh"
|
||||
android:summary="@string/follow_public_account_summary"
|
||||
android:title="@string/follow_official_account"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="wxZsm"
|
||||
android:summary="@string/click_to_open"
|
||||
android:title="@string/weChat_appreciation_code"
|
||||
@@ -23,28 +23,28 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/alipay"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="zfbHbSsm"
|
||||
android:summary="@string/alipay_red_envelope_copy"
|
||||
android:title="@string/alipay_red_envelope_search_code"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="zfbHbRwm"
|
||||
android:summary="@string/click_to_open"
|
||||
android:title="@string/alipay_red_envelope_qr_code"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="zfbSkRwm"
|
||||
android:summary="@string/click_to_open"
|
||||
android:title="@string/alipay_payment_qr_code"
|
||||
@@ -52,21 +52,21 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="QQ"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="qqSkRwm"
|
||||
android:summary="@string/click_to_open"
|
||||
android:title="@string/qq_collection_qr_code"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,38 +2,38 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/aloud_config"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/pref_media_button_per_next"
|
||||
android:summary="@string/pref_media_button_per_next_summary"
|
||||
android:key="mediaButtonPerNext"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/read_aloud_by_page"
|
||||
android:summary="@string/read_aloud_by_page_summary"
|
||||
android:key="readAloudByPage"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:title="@string/speak_engine"
|
||||
android:summary="TTS"
|
||||
android:key="appTtsEngine"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:title="@string/sys_tts_config"
|
||||
android:summary="@string/sys_tts_config_summary"
|
||||
android:key="sysTtsConfig"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,39 +2,39 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/web_dav_set"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.EditTextPreference
|
||||
<io.legado.app.lib.prefs.EditTextPreference
|
||||
android:key="web_dav_url"
|
||||
android:title="@string/web_dav_url"
|
||||
android:summary="@string/web_dav_url_s"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.EditTextPreference
|
||||
<io.legado.app.lib.prefs.EditTextPreference
|
||||
android:key="web_dav_account"
|
||||
android:title="@string/web_dav_account"
|
||||
android:summary="@string/web_dav_account_s"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.EditTextPreference
|
||||
<io.legado.app.lib.prefs.EditTextPreference
|
||||
android:key="web_dav_password"
|
||||
android:title="@string/web_dav_pw"
|
||||
android:summary="@string/web_dav_pw_s"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.EditTextPreference
|
||||
<io.legado.app.lib.prefs.EditTextPreference
|
||||
android:key="webDavDir"
|
||||
android:title="@string/sub_dir"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:key="syncBookProgress"
|
||||
android:defaultValue="true"
|
||||
android:title="@string/sync_book_progress_t"
|
||||
@@ -43,44 +43,44 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/backup_restore"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="backupUri"
|
||||
android:title="@string/backup_path"
|
||||
android:summary="@string/select_backup_path"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="web_dav_backup"
|
||||
android:title="@string/backup"
|
||||
android:summary="@string/backup_summary"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="web_dav_restore"
|
||||
android:title="@string/restore"
|
||||
android:summary="@string/restore_summary"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="restoreIgnore"
|
||||
android:title="@string/restore_ignore"
|
||||
android:summary="@string/restore_ignore_summary"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="import_old"
|
||||
android:title="@string/menu_import_old_version"
|
||||
android:summary="@string/import_old_summary"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:key="loadCoverOnlyWifi"
|
||||
android:defaultValue="false"
|
||||
android:title="@string/only_wifi"
|
||||
android:summary="@string/only_wifi_summary" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="coverRule"
|
||||
android:title="@string/cover_rule"
|
||||
android:summary="@string/cover_rule_summary"
|
||||
@@ -16,7 +16,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="useDefaultCover"
|
||||
android:summary="@string/use_default_cover_s"
|
||||
@@ -25,7 +25,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="dayThemeCategory"
|
||||
android:title="@string/day"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -33,14 +33,14 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="defaultCover"
|
||||
android:title="@string/default_cover"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="coverShowName"
|
||||
android:title="@string/cover_show_name"
|
||||
@@ -49,7 +49,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="coverShowAuthor"
|
||||
android:title="@string/cover_show_author"
|
||||
@@ -58,9 +58,9 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="nightThemeCategory"
|
||||
android:title="@string/night"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -68,14 +68,14 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="defaultCoverDark"
|
||||
android:title="@string/default_cover"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="coverShowNameN"
|
||||
android:title="@string/cover_show_name"
|
||||
@@ -84,7 +84,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="coverShowAuthorN"
|
||||
android:title="@string/cover_show_author"
|
||||
@@ -93,6 +93,6 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,41 +2,41 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.NameListPreference
|
||||
<io.legado.app.lib.prefs.NameListPreference
|
||||
android:defaultValue="auto"
|
||||
android:key="language"
|
||||
android:title="@string/language"
|
||||
app:entries="@array/language"
|
||||
app:entryValues="@array/language_value" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/main_activity"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="auto_refresh"
|
||||
android:summary="@string/ps_auto_refresh"
|
||||
android:title="@string/pt_auto_refresh"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="defaultToRead"
|
||||
android:summary="@string/ps_default_read"
|
||||
android:title="@string/pt_default_read"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="showDiscovery"
|
||||
android:title="@string/show_discovery"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="showRss"
|
||||
android:title="@string/show_rss"
|
||||
@@ -44,99 +44,99 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/other_setting"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="userAgent"
|
||||
android:title="@string/user_agent" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="defaultBookTreeUri"
|
||||
android:summary="@string/book_tree_uri_s"
|
||||
android:title="@string/book_tree_uri_t" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="checkSource"
|
||||
android:title="@string/check_source_config" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="uploadRule"
|
||||
android:summary="@string/direct_link_upload_rule_summary"
|
||||
android:title="@string/direct_link_upload_rule" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="Cronet"
|
||||
android:summary="@string/pref_cronet_summary"
|
||||
android:title="Cronet" />
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="antiAlias"
|
||||
android:summary="@string/pref_anti_alias_summary"
|
||||
android:title="@string/anti_alias" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="preDownloadNum"
|
||||
android:summary="@string/pre_download_s"
|
||||
android:title="@string/pre_download" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="replaceEnableDefault"
|
||||
android:summary="@string/replace_enable_default_s"
|
||||
android:title="@string/replace_enable_default_t"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="mediaButtonOnExit"
|
||||
android:summary="@string/media_button_on_exit_summary"
|
||||
android:title="@string/media_button_on_exit_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="autoClearExpired"
|
||||
android:summary="@string/auto_clear_expired_summary"
|
||||
android:title="@string/auto_clear_expired" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="webPort"
|
||||
android:title="@string/web_port_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="cleanCache"
|
||||
android:summary="@string/clear_cache_summary"
|
||||
android:title="@string/clear_cache"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="threadCount"
|
||||
android:title="@string/threads_num_title"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="process_text"
|
||||
android:summary="@string/add_to_text_context_menu_s"
|
||||
android:title="@string/add_to_text_context_menu_t"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="recordLog"
|
||||
android:summary="@string/record_debug_log"
|
||||
android:title="@string/record_log"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,7 +2,7 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.NameListPreference
|
||||
<io.legado.app.lib.prefs.NameListPreference
|
||||
android:key="screenOrientation"
|
||||
android:defaultValue="0"
|
||||
android:title="@string/screen_direction"
|
||||
@@ -11,7 +11,7 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.NameListPreference
|
||||
<io.legado.app.lib.prefs.NameListPreference
|
||||
android:key="keep_light"
|
||||
android:defaultValue="0"
|
||||
android:entryValues="@array/screen_time_out_value"
|
||||
@@ -20,110 +20,110 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/pt_hide_status_bar"
|
||||
android:key="hideStatusBar"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/read_body_to_lh"
|
||||
android:key="readBodyToLh"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/pt_hide_navigation_bar"
|
||||
android:key="hideNavigationBar"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/double_page_horizontal"
|
||||
android:key="doublePageHorizontal"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/use_zh_layout"
|
||||
android:key="useZhLayout"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/text_full_justify"
|
||||
android:key="textFullJustify"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/text_bottom_justify"
|
||||
android:key="textBottomJustify"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/volume_key_page"
|
||||
android:key="volumeKeyPage"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:title="@string/volume_key_page_on_play"
|
||||
android:key="volumeKeyPageOnPlay"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/auto_change_source"
|
||||
android:key="autoChangeSource"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/selectText"
|
||||
android:key="selectText"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:title="@string/show_brightness_view"
|
||||
android:key="showBrightnessView"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:title="@string/click_regional_config"
|
||||
android:key="clickRegionalConfig"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="disableReturnKey"
|
||||
android:title="@string/disable_return_key"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="customPageKey"
|
||||
android:title="@string/custom_page_key"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isBottomBackground="true" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="expandTextMenu"
|
||||
android:title="@string/expand_text_menu"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.IconListPreference
|
||||
<io.legado.app.lib.prefs.IconListPreference
|
||||
android:defaultValue="ic_launcher"
|
||||
android:entries="@array/icon_names"
|
||||
android:entryValues="@array/icons"
|
||||
@@ -12,38 +12,38 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:icons="@array/icons" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="welcomeStyle"
|
||||
android:title="@string/welcome_style"
|
||||
android:summary="@string/welcome_style_summary" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="transparentStatusBar"
|
||||
android:summary="@string/status_bar_immersion"
|
||||
android:title="@string/immersion_status_bar"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="immNavigationBar"
|
||||
android:summary="@string/imm_navigation_bar_s"
|
||||
android:title="@string/imm_navigation_bar"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="barElevation"
|
||||
android:summary="@string/bar_elevation_s"
|
||||
android:title="@string/bar_elevation"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="fontScale"
|
||||
android:summary="@string/font_scale_summary"
|
||||
android:title="@string/font_scale"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="coverConfig"
|
||||
android:title="@string/cover_config"
|
||||
android:summary="@string/cover_config_summary"
|
||||
@@ -51,7 +51,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="themeList"
|
||||
android:summary="@string/theme_list_summary"
|
||||
android:title="@string/theme_list"
|
||||
@@ -59,7 +59,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="dayThemeCategory"
|
||||
android:title="@string/day"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -67,7 +67,7 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_light_blue_600"
|
||||
android:key="colorPrimary"
|
||||
android:summary="@string/day_color_primary"
|
||||
@@ -75,7 +75,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_pink_800"
|
||||
android:key="colorAccent"
|
||||
android:summary="@string/day_color_accent"
|
||||
@@ -83,7 +83,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_grey_100"
|
||||
android:key="colorBackground"
|
||||
android:summary="@string/day_background_color"
|
||||
@@ -91,7 +91,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_grey_200"
|
||||
android:key="colorBottomBackground"
|
||||
android:summary="@string/day_navbar_color"
|
||||
@@ -101,11 +101,11 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="backgroundImage"
|
||||
android:title="@string/background_image" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="saveDayTheme"
|
||||
android:summary="@string/save_day_theme_summary"
|
||||
android:title="@string/save_theme_config"
|
||||
@@ -113,9 +113,9 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="nightThemeCategory"
|
||||
android:title="@string/night"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -123,7 +123,7 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_grey_900"
|
||||
android:key="colorPrimaryNight"
|
||||
android:summary="@string/night_primary"
|
||||
@@ -131,7 +131,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_deep_orange_800"
|
||||
android:key="colorAccentNight"
|
||||
android:summary="@string/night_accent"
|
||||
@@ -139,7 +139,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_black_1000"
|
||||
android:key="colorBackgroundNight"
|
||||
android:summary="@string/night_background_color"
|
||||
@@ -147,7 +147,7 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.ColorPreference
|
||||
<io.legado.app.lib.prefs.ColorPreference
|
||||
android:defaultValue="@color/md_grey_800"
|
||||
android:key="colorBottomBackgroundNight"
|
||||
android:summary="@string/night_navbar_color"
|
||||
@@ -155,11 +155,11 @@
|
||||
app:cpv_dialogType="preset"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="backgroundImageNight"
|
||||
android:title="@string/background_image" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="saveNightTheme"
|
||||
android:summary="@string/save_night_theme_summary"
|
||||
android:title="@string/save_theme_config"
|
||||
@@ -167,6 +167,6 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -2,7 +2,7 @@
|
||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="customWelcome"
|
||||
android:summary="@string/custom_welcome_summary"
|
||||
@@ -11,7 +11,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="dayThemeCategory"
|
||||
android:title="@string/day"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -19,14 +19,14 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="welcomeImagePath"
|
||||
android:title="@string/background_image"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowText"
|
||||
android:summary="@string/welcome_text"
|
||||
@@ -35,7 +35,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowIcon"
|
||||
android:summary="@string/show_default_book_icon"
|
||||
@@ -44,9 +44,9 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:key="nightThemeCategory"
|
||||
android:title="@string/night"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -54,14 +54,14 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="welcomeImagePathDark"
|
||||
android:title="@string/background_image"
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowTextDark"
|
||||
android:summary="@string/welcome_text"
|
||||
@@ -70,7 +70,7 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:key="welcomeShowIconDark"
|
||||
android:summary="@string/show_default_book_icon"
|
||||
@@ -79,6 +79,6 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -5,21 +5,21 @@
|
||||
app:allowDividerAbove="false"
|
||||
app:allowDividerBelow="false">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="bookSourceManage"
|
||||
android:title="@string/book_source_manage"
|
||||
android:summary="@string/book_source_manage_desc"
|
||||
android:icon="@drawable/ic_cfg_source"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="replaceManage"
|
||||
android:title="@string/replace_purify"
|
||||
android:summary="@string/replace_purify_desc"
|
||||
android:icon="@drawable/ic_cfg_replace"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.NameListPreference
|
||||
<io.legado.app.lib.prefs.NameListPreference
|
||||
android:defaultValue="0"
|
||||
android:entries="@array/theme_mode"
|
||||
android:entryValues="@array/theme_mode_v"
|
||||
@@ -29,7 +29,7 @@
|
||||
android:icon="@drawable/ic_cfg_theme"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.SwitchPreference
|
||||
<io.legado.app.lib.prefs.SwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="webService"
|
||||
android:title="@string/web_service"
|
||||
@@ -38,27 +38,27 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/setting"
|
||||
app:allowDividerAbove="true"
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="web_dav_setting"
|
||||
android:summary="@string/web_dav_set_import_old"
|
||||
android:title="@string/backup_restore"
|
||||
android:icon="@drawable/ic_cfg_backup"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="theme_setting"
|
||||
android:summary="@string/theme_setting_s"
|
||||
android:title="@string/theme_setting"
|
||||
android:icon="@drawable/ic_cfg_theme"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="setting"
|
||||
android:summary="@string/other_setting_s"
|
||||
android:title="@string/other_setting"
|
||||
@@ -66,9 +66,9 @@
|
||||
app:allowDividerBelow="false"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
<io.legado.app.ui.widget.prefs.PreferenceCategory
|
||||
<io.legado.app.lib.prefs.PreferenceCategory
|
||||
android:title="@string/other"
|
||||
android:key="aboutCategory"
|
||||
app:allowDividerAbove="true"
|
||||
@@ -76,34 +76,34 @@
|
||||
app:iconSpaceReserved="false"
|
||||
app:layout="@layout/view_preference_category">
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="bookmark"
|
||||
android:title="@string/bookmark"
|
||||
android:summary="@string/all_bookmark"
|
||||
android:icon="@drawable/ic_bookmark"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="readRecord"
|
||||
android:title="@string/read_record"
|
||||
android:summary="@string/read_record_summary"
|
||||
android:icon="@drawable/ic_history"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="donate"
|
||||
android:summary="@string/donate_summary"
|
||||
android:title="@string/donate"
|
||||
android:icon="@drawable/ic_cfg_donate"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
<io.legado.app.ui.widget.prefs.Preference
|
||||
<io.legado.app.lib.prefs.Preference
|
||||
android:key="about"
|
||||
android:summary="@string/about_summary"
|
||||
android:title="@string/about"
|
||||
android:icon="@drawable/ic_cfg_about"
|
||||
app:iconSpaceReserved="false" />
|
||||
|
||||
</io.legado.app.ui.widget.prefs.PreferenceCategory>
|
||||
</io.legado.app.lib.prefs.PreferenceCategory>
|
||||
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user