pull/32/head
GKF 6 years ago
parent 12c35d81a0
commit de0e04176c
  1. 2
      app/src/main/res/xml/pref_config_theme.xml
  2. 51
      app/src/main/res/xml/pref_main.xml

@ -31,7 +31,7 @@
android:title="@string/e_ink_mode" android:title="@string/e_ink_mode"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<Preference <androidx.preference.Preference
android:key="defaultTheme" android:key="defaultTheme"
android:summary="@string/restore_default_theme" android:summary="@string/restore_default_theme"
android:title="@string/default_theme" android:title="@string/default_theme"

@ -2,29 +2,58 @@
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.preference.Preference <io.legado.app.lib.theme.prefs.ATESwitchPreference
android:key="setting" android:defaultValue="false"
android:title="设置" android:key="isNightTheme"
android:summary="与功能相关的一些设置" android:summary="开启/关闭暗色主题"
android:title="暗色主题"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<io.legado.app.lib.theme.prefs.ATESwitchPreference
android:defaultValue="false"
android:key="webService"
android:summary="开启/关闭Web阅读和写源"
android:title="Web服务"
app:iconSpaceReserved="false" />
<io.legado.app.lib.theme.prefs.ATEPreferenceCategory
android:title="设置"
app:iconSpaceReserved="false">
<androidx.preference.Preference <androidx.preference.Preference
android:key="web_dav_setting" android:key="web_dav_setting"
android:title="云备份设置"
android:summary="通过WebDav云备份" android:summary="通过WebDav云备份"
android:title="云备份设置"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<androidx.preference.Preference <androidx.preference.Preference
android:key="theme_setting" android:key="theme_setting"
android:title="主题设置"
android:summary="与界面/颜色相关的一些设置" android:summary="与界面/颜色相关的一些设置"
android:title="主题设置"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
<io.legado.app.lib.theme.prefs.ATESwitchPreference <androidx.preference.Preference
android:defaultValue="false" android:key="setting"
android:key="isNightTheme" android:summary="与功能相关的一些设置"
android:summary="开启/关闭暗色主题" android:title="其它设置"
android:title="暗色主题"
app:iconSpaceReserved="false" /> app:iconSpaceReserved="false" />
</io.legado.app.lib.theme.prefs.ATEPreferenceCategory>
<io.legado.app.lib.theme.prefs.ATEPreferenceCategory app:iconSpaceReserved="false">
<androidx.preference.Preference
android:key="about"
android:summary="您的支持是我更新的动力"
android:title="@string/donate"
app:iconSpaceReserved="false" />
<androidx.preference.Preference
android:key="about"
android:summary="公众号[开源阅读软件]"
android:title="@string/about"
app:iconSpaceReserved="false" />
</io.legado.app.lib.theme.prefs.ATEPreferenceCategory>
</androidx.preference.PreferenceScreen> </androidx.preference.PreferenceScreen>
Loading…
Cancel
Save