diff options
author | André <1729839+andre-m-dev@users.noreply.github.com> | 2024-05-31 10:46:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 10:46:59 +0200 |
commit | f8c864f5536e97c6f55c2bf9455d3ba5451cb76c (patch) | |
tree | f99cf480c3542737fb91d65afa89b998c5553f00 | |
parent | 0a768e6286347a6bdb32cf56f774ececf6a321f3 (diff) | |
download | AntennaPod-f8c864f5536e97c6f55c2bf9455d3ba5451cb76c.zip |
Reorganize appearance settings (#7207)
-rw-r--r-- | ui/i18n/src/main/res/values/strings.xml | 3 | ||||
-rw-r--r-- | ui/preferences/src/main/res/xml/preferences_playback.xml | 5 | ||||
-rw-r--r-- | ui/preferences/src/main/res/xml/preferences_user_interface.xml | 41 |
3 files changed, 26 insertions, 23 deletions
diff --git a/ui/i18n/src/main/res/values/strings.xml b/ui/i18n/src/main/res/values/strings.xml index 0cbeb6407..85d068190 100644 --- a/ui/i18n/src/main/res/values/strings.xml +++ b/ui/i18n/src/main/res/values/strings.xml @@ -381,7 +381,7 @@ <string name="download_pref_details">Details</string> <string name="import_export_pref">Import/Export</string> <string name="import_export_search_keywords">backup, restore</string> - <string name="appearance">Appearance</string> + <string name="theming">Theming</string> <string name="external_elements">External elements</string> <string name="interruptions">Interruptions</string> <string name="playback_control">Playback control</string> @@ -534,6 +534,7 @@ <string name="pref_show_subscription_title">Show titles</string> <string name="pref_new_episodes_action_title">New episodes action</string> <string name="pref_new_episodes_action_sum">Action to take for new episodes</string> + <string name="episode_information">Episode information</string> <!-- About screen --> <string name="about_pref">About</string> diff --git a/ui/preferences/src/main/res/xml/preferences_playback.xml b/ui/preferences/src/main/res/xml/preferences_playback.xml index 9fff85eba..c6ae85f56 100644 --- a/ui/preferences/src/main/res/xml/preferences_playback.xml +++ b/ui/preferences/src/main/res/xml/preferences_playback.xml @@ -45,11 +45,6 @@ android:title="@string/playback_speed"/> <SwitchPreferenceCompat android:defaultValue="false" - android:key="prefPlaybackTimeRespectsSpeed" - android:summary="@string/pref_playback_time_respects_speed_sum" - android:title="@string/pref_playback_time_respects_speed_title"/> - <SwitchPreferenceCompat - android:defaultValue="false" android:key="prefStreamOverDownload" android:summary="@string/pref_stream_over_download_sum" android:title="@string/pref_stream_over_download_title"/> diff --git a/ui/preferences/src/main/res/xml/preferences_user_interface.xml b/ui/preferences/src/main/res/xml/preferences_user_interface.xml index a8e276546..f61447b77 100644 --- a/ui/preferences/src/main/res/xml/preferences_user_interface.xml +++ b/ui/preferences/src/main/res/xml/preferences_user_interface.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch"> - <PreferenceCategory android:title="@string/appearance"> + <PreferenceCategory android:title="@string/theming"> <de.danoeh.antennapod.ui.preferences.preference.ThemePreference android:key="prefTheme" /> <SwitchPreferenceCompat @@ -16,22 +16,6 @@ android:key="prefTintedColors" android:summary="@string/pref_tinted_theme_message" android:defaultValue="false" /> - <Preference - android:key="prefHiddenDrawerItems" - android:summary="@string/pref_nav_drawer_items_sum" - android:title="@string/pref_nav_drawer_items_title"/> - <SwitchPreferenceCompat - android:title="@string/pref_episode_cover_title" - android:key="prefEpisodeCover" - android:summary="@string/pref_episode_cover_summary" - android:defaultValue="true" - android:enabled="true"/> - <SwitchPreferenceCompat - android:title="@string/pref_show_remain_time_title" - android:key="showTimeLeft" - android:summary="@string/pref_show_remain_time_summary" - android:defaultValue="false" - android:enabled="true"/> </PreferenceCategory> <PreferenceCategory android:title="@string/subscriptions_label"> <Preference @@ -50,6 +34,25 @@ android:key="prefSubscriptionsFilter" android:summary="@string/pref_filter_feed_sum" /> </PreferenceCategory> + <PreferenceCategory android:title="@string/episode_information"> + <SwitchPreferenceCompat + android:title="@string/pref_episode_cover_title" + android:key="prefEpisodeCover" + android:summary="@string/pref_episode_cover_summary" + android:defaultValue="true" + android:enabled="true"/> + <SwitchPreferenceCompat + android:title="@string/pref_show_remain_time_title" + android:key="showTimeLeft" + android:summary="@string/pref_show_remain_time_summary" + android:defaultValue="false" + android:enabled="true"/> + <SwitchPreferenceCompat + android:defaultValue="false" + android:key="prefPlaybackTimeRespectsSpeed" + android:summary="@string/pref_playback_time_respects_speed_sum" + android:title="@string/pref_playback_time_respects_speed_title"/> + </PreferenceCategory> <PreferenceCategory android:title="@string/external_elements"> <SwitchPreferenceCompat android:defaultValue="false" @@ -77,6 +80,10 @@ android:title="@string/pref_default_page" android:summary="@string/pref_default_page_sum" android:defaultValue="HomeFragment"/> + <Preference + android:key="prefHiddenDrawerItems" + android:summary="@string/pref_nav_drawer_items_sum" + android:title="@string/pref_nav_drawer_items_title"/> <SwitchPreferenceCompat android:key="prefBackButtonOpensDrawer" android:title="@string/pref_back_button_opens_drawer" |