|
|
@ -2,7 +2,7 @@ |
|
|
|
<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"> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.IconListPreference |
|
|
|
<io.legado.app.lib.prefs.IconListPreference |
|
|
|
android:defaultValue="ic_launcher" |
|
|
|
android:defaultValue="ic_launcher" |
|
|
|
android:entries="@array/icon_names" |
|
|
|
android:entries="@array/icon_names" |
|
|
|
android:entryValues="@array/icons" |
|
|
|
android:entryValues="@array/icons" |
|
|
@ -12,38 +12,38 @@ |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:icons="@array/icons" /> |
|
|
|
app:icons="@array/icons" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="welcomeStyle" |
|
|
|
android:key="welcomeStyle" |
|
|
|
android:title="@string/welcome_style" |
|
|
|
android:title="@string/welcome_style" |
|
|
|
android:summary="@string/welcome_style_summary" /> |
|
|
|
android:summary="@string/welcome_style_summary" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.SwitchPreference |
|
|
|
<io.legado.app.lib.prefs.SwitchPreference |
|
|
|
android:defaultValue="true" |
|
|
|
android:defaultValue="true" |
|
|
|
android:key="transparentStatusBar" |
|
|
|
android:key="transparentStatusBar" |
|
|
|
android:summary="@string/status_bar_immersion" |
|
|
|
android:summary="@string/status_bar_immersion" |
|
|
|
android:title="@string/immersion_status_bar" |
|
|
|
android:title="@string/immersion_status_bar" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.SwitchPreference |
|
|
|
<io.legado.app.lib.prefs.SwitchPreference |
|
|
|
android:defaultValue="true" |
|
|
|
android:defaultValue="true" |
|
|
|
android:key="immNavigationBar" |
|
|
|
android:key="immNavigationBar" |
|
|
|
android:summary="@string/imm_navigation_bar_s" |
|
|
|
android:summary="@string/imm_navigation_bar_s" |
|
|
|
android:title="@string/imm_navigation_bar" |
|
|
|
android:title="@string/imm_navigation_bar" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="barElevation" |
|
|
|
android:key="barElevation" |
|
|
|
android:summary="@string/bar_elevation_s" |
|
|
|
android:summary="@string/bar_elevation_s" |
|
|
|
android:title="@string/bar_elevation" |
|
|
|
android:title="@string/bar_elevation" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="fontScale" |
|
|
|
android:key="fontScale" |
|
|
|
android:summary="@string/font_scale_summary" |
|
|
|
android:summary="@string/font_scale_summary" |
|
|
|
android:title="@string/font_scale" |
|
|
|
android:title="@string/font_scale" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="coverConfig" |
|
|
|
android:key="coverConfig" |
|
|
|
android:title="@string/cover_config" |
|
|
|
android:title="@string/cover_config" |
|
|
|
android:summary="@string/cover_config_summary" |
|
|
|
android:summary="@string/cover_config_summary" |
|
|
@ -51,7 +51,7 @@ |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="themeList" |
|
|
|
android:key="themeList" |
|
|
|
android:summary="@string/theme_list_summary" |
|
|
|
android:summary="@string/theme_list_summary" |
|
|
|
android:title="@string/theme_list" |
|
|
|
android:title="@string/theme_list" |
|
|
@ -59,7 +59,7 @@ |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.PreferenceCategory |
|
|
|
<io.legado.app.lib.prefs.PreferenceCategory |
|
|
|
android:key="dayThemeCategory" |
|
|
|
android:key="dayThemeCategory" |
|
|
|
android:title="@string/day" |
|
|
|
android:title="@string/day" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerAbove="true" |
|
|
@ -67,7 +67,7 @@ |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:layout="@layout/view_preference_category"> |
|
|
|
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:defaultValue="@color/md_light_blue_600" |
|
|
|
android:key="colorPrimary" |
|
|
|
android:key="colorPrimary" |
|
|
|
android:summary="@string/day_color_primary" |
|
|
|
android:summary="@string/day_color_primary" |
|
|
@ -75,7 +75,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_pink_800" |
|
|
|
android:defaultValue="@color/md_pink_800" |
|
|
|
android:key="colorAccent" |
|
|
|
android:key="colorAccent" |
|
|
|
android:summary="@string/day_color_accent" |
|
|
|
android:summary="@string/day_color_accent" |
|
|
@ -83,7 +83,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_100" |
|
|
|
android:defaultValue="@color/md_grey_100" |
|
|
|
android:key="colorBackground" |
|
|
|
android:key="colorBackground" |
|
|
|
android:summary="@string/day_background_color" |
|
|
|
android:summary="@string/day_background_color" |
|
|
@ -91,7 +91,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_200" |
|
|
|
android:defaultValue="@color/md_grey_200" |
|
|
|
android:key="colorBottomBackground" |
|
|
|
android:key="colorBottomBackground" |
|
|
|
android:summary="@string/day_navbar_color" |
|
|
|
android:summary="@string/day_navbar_color" |
|
|
@ -101,11 +101,11 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="backgroundImage" |
|
|
|
android:key="backgroundImage" |
|
|
|
android:title="@string/background_image" /> |
|
|
|
android:title="@string/background_image" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="saveDayTheme" |
|
|
|
android:key="saveDayTheme" |
|
|
|
android:summary="@string/save_day_theme_summary" |
|
|
|
android:summary="@string/save_day_theme_summary" |
|
|
|
android:title="@string/save_theme_config" |
|
|
|
android:title="@string/save_theme_config" |
|
|
@ -113,9 +113,9 @@ |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:iconSpaceReserved="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:key="nightThemeCategory" |
|
|
|
android:title="@string/night" |
|
|
|
android:title="@string/night" |
|
|
|
app:allowDividerAbove="true" |
|
|
|
app:allowDividerAbove="true" |
|
|
@ -123,7 +123,7 @@ |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:iconSpaceReserved="false" |
|
|
|
app:layout="@layout/view_preference_category"> |
|
|
|
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:defaultValue="@color/md_grey_900" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:key="colorPrimaryNight" |
|
|
|
android:summary="@string/night_primary" |
|
|
|
android:summary="@string/night_primary" |
|
|
@ -131,7 +131,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_deep_orange_800" |
|
|
|
android:defaultValue="@color/md_deep_orange_800" |
|
|
|
android:key="colorAccentNight" |
|
|
|
android:key="colorAccentNight" |
|
|
|
android:summary="@string/night_accent" |
|
|
|
android:summary="@string/night_accent" |
|
|
@ -139,7 +139,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_black_1000" |
|
|
|
android:defaultValue="@color/md_black_1000" |
|
|
|
android:key="colorBackgroundNight" |
|
|
|
android:key="colorBackgroundNight" |
|
|
|
android:summary="@string/night_background_color" |
|
|
|
android:summary="@string/night_background_color" |
|
|
@ -147,7 +147,7 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.ColorPreference |
|
|
|
<io.legado.app.lib.prefs.ColorPreference |
|
|
|
android:defaultValue="@color/md_grey_800" |
|
|
|
android:defaultValue="@color/md_grey_800" |
|
|
|
android:key="colorBottomBackgroundNight" |
|
|
|
android:key="colorBottomBackgroundNight" |
|
|
|
android:summary="@string/night_navbar_color" |
|
|
|
android:summary="@string/night_navbar_color" |
|
|
@ -155,11 +155,11 @@ |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:cpv_dialogType="preset" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="backgroundImageNight" |
|
|
|
android:key="backgroundImageNight" |
|
|
|
android:title="@string/background_image" /> |
|
|
|
android:title="@string/background_image" /> |
|
|
|
|
|
|
|
|
|
|
|
<io.legado.app.ui.widget.prefs.Preference |
|
|
|
<io.legado.app.lib.prefs.Preference |
|
|
|
android:key="saveNightTheme" |
|
|
|
android:key="saveNightTheme" |
|
|
|
android:summary="@string/save_night_theme_summary" |
|
|
|
android:summary="@string/save_night_theme_summary" |
|
|
|
android:title="@string/save_theme_config" |
|
|
|
android:title="@string/save_theme_config" |
|
|
@ -167,6 +167,6 @@ |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:allowDividerBelow="false" |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
app:iconSpaceReserved="false" /> |
|
|
|
|
|
|
|
|
|
|
|
</io.legado.app.ui.widget.prefs.PreferenceCategory> |
|
|
|
</io.legado.app.lib.prefs.PreferenceCategory> |
|
|
|
|
|
|
|
|
|
|
|
</androidx.preference.PreferenceScreen> |
|
|
|
</androidx.preference.PreferenceScreen> |