summaryrefslogtreecommitdiff
path: root/ui/preferences/src/main/res/xml
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-23 09:40:40 +0100
committerGitHub <noreply@github.com>2024-03-23 09:40:40 +0100
commitf20ce1fc690788273bb779663a4f3211f47a0973 (patch)
treea1192a00bc1b5153d143fa579b8c6f977111c847 /ui/preferences/src/main/res/xml
parent376c83d200859ef562d6e3de02602ef18de3e7de (diff)
downloadAntennaPod-f20ce1fc690788273bb779663a4f3211f47a0973.zip
Move first batch of preferences code to :ui:preferences (#7010)
Diffstat (limited to 'ui/preferences/src/main/res/xml')
-rw-r--r--ui/preferences/src/main/res/xml/preferences.xml71
-rw-r--r--ui/preferences/src/main/res/xml/preferences_about.xml28
-rw-r--r--ui/preferences/src/main/res/xml/preferences_autodownload.xml34
-rw-r--r--ui/preferences/src/main/res/xml/preferences_downloads.xml69
-rw-r--r--ui/preferences/src/main/res/xml/preferences_import_export.xml45
-rw-r--r--ui/preferences/src/main/res/xml/preferences_notifications.xml19
-rw-r--r--ui/preferences/src/main/res/xml/preferences_playback.xml108
-rw-r--r--ui/preferences/src/main/res/xml/preferences_swipe.xml28
-rw-r--r--ui/preferences/src/main/res/xml/preferences_synchronization.xml31
-rw-r--r--ui/preferences/src/main/res/xml/preferences_user_interface.xml95
10 files changed, 528 insertions, 0 deletions
diff --git a/ui/preferences/src/main/res/xml/preferences.xml b/ui/preferences/src/main/res/xml/preferences.xml
new file mode 100644
index 000000000..8f3851c09
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:search="http://schemas.android.com/apk/res-auto">
+
+ <com.bytehamster.lib.preferencesearch.SearchPreference
+ android:key="searchPreference"
+ search:textHint="@string/preference_search_hint"
+ search:textNoResults="@string/preference_search_no_results"
+ search:textClearHistory="@string/preference_search_clear_history" />
+
+ <Preference
+ android:key="prefScreenInterface"
+ android:title="@string/user_interface_label"
+ android:summary="@string/user_interface_sum"
+ android:icon="@drawable/ic_appearance" />
+
+ <Preference
+ android:key="prefScreenPlayback"
+ android:title="@string/playback_pref"
+ android:summary="@string/playback_pref_sum"
+ android:icon="@drawable/ic_play_24dp" />
+
+ <Preference
+ android:key="prefScreenDownloads"
+ android:title="@string/downloads_pref"
+ android:summary="@string/downloads_pref_sum"
+ android:icon="@drawable/ic_download" />
+
+ <Preference
+ android:key="prefScreenSynchronization"
+ android:title="@string/synchronization_pref"
+ android:summary="@string/synchronization_sum"
+ android:icon="@drawable/ic_cloud" />
+
+ <Preference
+ android:key="prefScreenImportExport"
+ android:title="@string/import_export_pref"
+ android:summary="@string/import_export_summary"
+ android:icon="@drawable/ic_storage" />
+
+ <Preference
+ android:key="notifications"
+ android:title="@string/notification_pref_fragment"
+ android:icon="@drawable/ic_notifications"/>
+
+ <PreferenceCategory
+ android:key="project"
+ android:title="@string/project_pref">
+ <Preference
+ android:key="prefDocumentation"
+ android:title="@string/documentation_support"
+ android:icon="@drawable/ic_questionmark" />
+ <Preference
+ android:key="prefViewForum"
+ android:title="@string/visit_user_forum"
+ android:icon="@drawable/ic_chat" />
+ <Preference
+ android:key="prefContribute"
+ android:title="@string/pref_contribute"
+ android:icon="@drawable/ic_contribute" />
+ <Preference
+ android:key="prefSendBugReport"
+ android:title="@string/bug_report_title"
+ android:icon="@drawable/ic_bug" />
+ <Preference
+ android:key="prefAbout"
+ android:title="@string/about_pref"
+ android:icon="@drawable/ic_info" />
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_about.xml b/ui/preferences/src/main/res/xml/preferences_about.xml
new file mode 100644
index 000000000..1312d5466
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_about.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <Preference
+ android:layout="@layout/about_teaser"/>
+ <Preference
+ android:key="about_version"
+ android:title="@string/antennapod_version"
+ android:icon="@drawable/ic_star"
+ android:summary="1.7.2 (asd8qs)"/>
+ <Preference
+ android:key="about_contributors"
+ android:icon="@drawable/ic_settings"
+ android:summary="@string/contributors_summary"
+ android:title="@string/contributors"/>
+ <Preference
+ android:key="about_privacy_policy"
+ android:icon="@drawable/ic_questionmark"
+ android:summary="www.antennapod.org/privacy"
+ android:title="@string/privacy_policy"/>
+ <Preference
+ android:key="about_licenses"
+ android:icon="@drawable/ic_info"
+ android:summary="@string/licenses_summary"
+ android:title="@string/licenses"/>
+
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_autodownload.xml b/ui/preferences/src/main/res/xml/preferences_autodownload.xml
new file mode 100644
index 000000000..339ddc9af
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_autodownload.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch">
+
+ <de.danoeh.antennapod.ui.preferences.preference.MasterSwitchPreference
+ android:key="prefEnableAutoDl"
+ android:title="@string/pref_automatic_download_title"
+ search:summary="@string/pref_automatic_download_sum"
+ android:defaultValue="false"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="25"
+ android:entries="@array/episode_cache_size_entries"
+ android:key="prefEpisodeCacheSize"
+ android:title="@string/pref_episode_cache_title"
+ android:summary="@string/pref_episode_cache_summary"
+ android:entryValues="@array/episode_cache_size_values"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="-1"
+ android:entries="@array/episode_cleanup_entries"
+ android:key="prefEpisodeCleanup"
+ android:title="@string/pref_episode_cleanup_title"
+ android:summary="@string/pref_episode_cleanup_summary"
+ android:entryValues="@array/episode_cleanup_values"/>
+ <SwitchPreferenceCompat
+ android:key="prefEnableAutoDownloadOnBattery"
+ android:title="@string/pref_automatic_download_on_battery_title"
+ android:summary="@string/pref_automatic_download_on_battery_sum"
+ android:defaultValue="true"/>
+ <SwitchPreferenceCompat
+ android:key="prefEnableAutoDownloadWifiFilter"
+ android:title="@string/pref_autodl_wifi_filter_title"
+ android:summary="@string/pref_autodl_wifi_filter_sum"/>
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_downloads.xml b/ui/preferences/src/main/res/xml/preferences_downloads.xml
new file mode 100644
index 000000000..8a0c2efbe
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_downloads.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch">
+
+ <Preference
+ android:title="@string/choose_data_directory"
+ android:key="prefChooseDataDir"/>
+
+ <PreferenceCategory android:title="@string/automation">
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:entryValues="@array/feed_refresh_interval_values"
+ android:entries="@array/feed_refresh_interval_entries"
+ android:key="prefAutoUpdateIntervall"
+ android:title="@string/feed_refresh_title"
+ android:summary="@string/feed_refresh_sum"
+ android:defaultValue="12"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:entryValues="@array/globalNewEpisodesActionValues"
+ android:entries="@array/globalNewEpisodesActionItems"
+ android:key="prefNewEpisodesAction"
+ android:title="@string/pref_new_episodes_action_title"
+ android:summary="@string/pref_new_episodes_action_sum"
+ android:defaultValue="1"/>
+ <Preference
+ android:summary="@string/pref_automatic_download_sum"
+ android:key="prefAutoDownloadSettings"
+ android:title="@string/pref_automatic_download_title"
+ search:ignore="true" />
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefAutoDelete"
+ android:summary="@string/pref_auto_delete_sum"
+ android:title="@string/pref_auto_delete_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefAutoDeleteLocal"
+ android:summary="@string/pref_auto_local_delete_sum"
+ android:title="@string/pref_auto_local_delete_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefFavoriteKeepsEpisode"
+ android:summary="@string/pref_favorite_keeps_episodes_sum"
+ android:title="@string/pref_favorite_keeps_episodes_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefDeleteRemovesFromQueue"
+ android:summary="@string/pref_delete_removes_from_queue_sum"
+ android:title="@string/pref_delete_removes_from_queue_title"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/download_pref_details">
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialMultiSelectListPreference
+ android:defaultValue="@array/mobile_update_default_value"
+ android:entries="@array/mobile_update_entries"
+ android:entryValues="@array/mobile_update_values"
+ android:key="prefMobileUpdateTypes"
+ android:summary="@string/pref_mobileUpdate_sum"
+ android:title="@string/pref_mobileUpdate_title"/>
+ <Preference
+ android:key="prefProxy"
+ android:summary="@string/pref_proxy_sum"
+ android:title="@string/pref_proxy_title"/>
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_import_export.xml b/ui/preferences/src/main/res/xml/preferences_import_export.xml
new file mode 100644
index 000000000..789c8c216
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_import_export.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:search="http://schemas.android.com/apk/com.bytehamster.lib.preferencesearch">
+
+ <PreferenceCategory android:title="@string/database">
+ <Preference
+ android:key="prefDatabaseExport"
+ search:keywords="@string/import_export_search_keywords"
+ android:title="@string/database_export_label"
+ android:summary="@string/database_export_summary"/>
+ <SwitchPreferenceCompat
+ android:key="prefAutomaticDatabaseExport"
+ android:title="@string/automatic_database_export_label"
+ android:summary="@string/automatic_database_export_summary"
+ android:defaultValue="false" />
+ <Preference
+ android:key="prefDatabaseImport"
+ search:keywords="@string/import_export_search_keywords"
+ android:title="@string/database_import_label"
+ android:summary="@string/database_import_summary"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/opml">
+ <Preference
+ android:key="prefOpmlExport"
+ android:title="@string/opml_export_label"
+ android:summary="@string/opml_export_summary"/>
+ <Preference
+ android:key="prefOpmlImport"
+ android:title="@string/opml_import_label"
+ android:summary="@string/opml_import_summary"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/html">
+ <Preference
+ android:key="prefHtmlExport"
+ android:title="@string/html_export_label"
+ android:summary="@string/html_export_summary"/>
+ <Preference
+ android:key="prefFavoritesExport"
+ android:title="@string/favorites_export_label"
+ android:summary="@string/favorites_export_summary"/>
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_notifications.xml b/ui/preferences/src/main/res/xml/preferences_notifications.xml
new file mode 100644
index 000000000..34d327340
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_notifications.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:title="@string/notification_group_errors">
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefShowDownloadReport"
+ android:summary="@string/notification_channel_download_error_description"
+ android:title="@string/notification_channel_download_error" />
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:key="pref_gpodnet_notifications"
+ android:summary="@string/notification_channel_sync_error_description"
+ android:title="@string/notification_channel_sync_error" />
+ </PreferenceCategory>
+</PreferenceScreen> \ No newline at end of file
diff --git a/ui/preferences/src/main/res/xml/preferences_playback.xml b/ui/preferences/src/main/res/xml/preferences_playback.xml
new file mode 100644
index 000000000..9fff85eba
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_playback.xml
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory android:title="@string/interruptions">
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefPauseOnHeadsetDisconnect"
+ android:summary="@string/pref_pauseOnDisconnect_sum"
+ android:title="@string/pref_pauseOnHeadsetDisconnect_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:dependency="prefPauseOnHeadsetDisconnect"
+ android:key="prefUnpauseOnHeadsetReconnect"
+ android:summary="@string/pref_unpauseOnHeadsetReconnect_sum"
+ android:title="@string/pref_unpauseOnHeadsetReconnect_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:dependency="prefPauseOnHeadsetDisconnect"
+ android:key="prefUnpauseOnBluetoothReconnect"
+ android:summary="@string/pref_unpauseOnBluetoothReconnect_sum"
+ android:title="@string/pref_unpauseOnBluetoothReconnect_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefPauseForFocusLoss"
+ android:summary="@string/pref_pausePlaybackForFocusLoss_sum"
+ android:title="@string/pref_pausePlaybackForFocusLoss_title"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/playback_control">
+ <Preference
+ android:key="prefPlaybackFastForwardDeltaLauncher"
+ android:summary="@string/pref_fast_forward_sum"
+ android:title="@string/pref_fast_forward"/>
+ <Preference
+ android:key="prefPlaybackRewindDeltaLauncher"
+ android:summary="@string/pref_rewind_sum"
+ android:title="@string/pref_rewind"/>
+ <Preference
+ android:key="prefPlaybackSpeedLauncher"
+ android:summary="@string/pref_playback_speed_sum"
+ 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"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/reassign_hardware_buttons">
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="@string/keycode_media_fast_forward"
+ android:entries="@array/button_action_options"
+ android:entryValues="@array/button_action_values"
+ android:key="prefHardwareForwardButton"
+ android:title="@string/pref_hardware_forward_button_title"
+ android:summary="@string/pref_hardware_forward_button_summary"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="@string/keycode_media_rewind"
+ android:entries="@array/button_action_options"
+ android:entryValues="@array/button_action_values"
+ android:key="prefHardwarePreviousButton"
+ android:title="@string/pref_hardware_previous_button_title"
+ android:summary="@string/pref_hardware_previous_button_summary"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/queue_label">
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefEnqueueDownloaded"
+ android:summary="@string/pref_enqueue_downloaded_summary"
+ android:title="@string/pref_enqueue_downloaded_title" />
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="BACK"
+ android:entries="@array/enqueue_location_options"
+ android:entryValues="@array/enqueue_location_values"
+ android:key="prefEnqueueLocation"
+ android:title="@string/pref_enqueue_location_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefFollowQueue"
+ android:summary="@string/pref_followQueue_sum"
+ android:title="@string/pref_followQueue_title"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:defaultValue="30"
+ android:entries="@array/smart_mark_as_played_values"
+ android:entryValues="@array/smart_mark_as_played_values"
+ android:key="prefSmartMarkAsPlayedSecs"
+ android:summary="@string/pref_smart_mark_as_played_sum"
+ android:title="@string/pref_smart_mark_as_played_title"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefSkipKeepsEpisode"
+ android:summary="@string/pref_skip_keeps_episodes_sum"
+ android:title="@string/pref_skip_keeps_episodes_title"/>
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_swipe.xml b/ui/preferences/src/main/res/xml/preferences_swipe.xml
new file mode 100644
index 000000000..10ac102dd
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_swipe.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <Preference
+ android:key="prefSwipeQueue"
+ android:title="@string/queue_label"/>
+
+ <Preference
+ android:key="prefSwipeInbox"
+ android:title="@string/inbox_label"/>
+
+ <Preference
+ android:key="prefSwipeEpisodes"
+ android:title="@string/episodes_label"/>
+
+ <Preference
+ android:key="prefSwipeDownloads"
+ android:title="@string/downloads_label"/>
+
+ <Preference
+ android:key="prefSwipeHistory"
+ android:title="@string/playback_history_label"/>
+
+ <Preference
+ android:key="prefSwipeFeed"
+ android:title="@string/individual_subscription"/>
+
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_synchronization.xml b/ui/preferences/src/main/res/xml/preferences_synchronization.xml
new file mode 100644
index 000000000..fbd4ccc79
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_synchronization.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <Preference
+ android:key="preference_synchronization_description"
+ android:icon="@drawable/ic_notification_sync"
+ android:summary="@string/synchronization_summary_unchoosen"/>
+
+ <Preference
+ android:key="pref_gpodnet_setlogin_information"
+ android:title="@string/pref_gpodnet_setlogin_information_title"
+ android:summary="@string/pref_gpodnet_setlogin_information_sum"
+ app:isPreferenceVisible="false"/>
+
+ <Preference
+ android:key="pref_synchronization_sync"
+ android:title="@string/synchronization_sync_changes_title"
+ android:summary="@string/synchronization_sync_summary"/>
+
+ <Preference
+ android:key="pref_synchronization_force_full_sync"
+ android:title="@string/synchronization_full_sync_title"
+ android:summary="@string/synchronization_force_sync_summary"/>
+
+ <Preference
+ android:key="pref_synchronization_logout"
+ android:title="@string/synchronization_logout"/>
+
+</PreferenceScreen>
diff --git a/ui/preferences/src/main/res/xml/preferences_user_interface.xml b/ui/preferences/src/main/res/xml/preferences_user_interface.xml
new file mode 100644
index 000000000..3730ca828
--- /dev/null
+++ b/ui/preferences/src/main/res/xml/preferences_user_interface.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ 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">
+ <de.danoeh.antennapod.ui.preferences.preference.ThemePreference
+ android:key="prefTheme" />
+ <SwitchPreferenceCompat
+ android:title="@string/pref_black_theme_title"
+ android:key="prefThemeBlack"
+ android:summary="@string/pref_black_theme_message"
+ android:defaultValue="false" />
+ <SwitchPreferenceCompat
+ android:title="@string/pref_tinted_theme_title"
+ 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
+ android:title="@string/pref_nav_drawer_feed_order_title"
+ android:key="prefDrawerFeedOrder"
+ android:summary="@string/pref_nav_drawer_feed_order_sum"/>
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:entryValues="@array/nav_drawer_feed_counter_values"
+ android:entries="@array/nav_drawer_feed_counter_options"
+ android:title="@string/pref_nav_drawer_feed_counter_title"
+ android:key="prefDrawerFeedIndicator"
+ android:summary="@string/pref_nav_drawer_feed_counter_sum"
+ android:defaultValue="1"/>
+ <Preference
+ android:title="@string/pref_filter_feed_title"
+ android:key="prefSubscriptionsFilter"
+ android:summary="@string/pref_filter_feed_sum" />
+ <SwitchPreferenceCompat
+ android:title="@string/pref_show_subscription_title"
+ android:key="prefSubscriptionTitle"
+ android:summary="@string/pref_show_subscription_title_summary"
+ android:defaultValue="false" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/external_elements">
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefExpandNotify"
+ android:summary="@string/pref_expandNotify_sum"
+ android:title="@string/pref_expandNotify_title"
+ search:ignore="true"/>
+ <SwitchPreferenceCompat
+ android:defaultValue="true"
+ android:enabled="true"
+ android:key="prefPersistNotify"
+ android:summary="@string/pref_persistNotify_sum"
+ android:title="@string/pref_persistNotify_title"/>
+ <Preference
+ android:key="prefFullNotificationButtons"
+ android:summary="@string/pref_full_notification_buttons_sum"
+ android:title="@string/pref_full_notification_buttons_title"/>
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/behavior">
+ <de.danoeh.antennapod.ui.preferences.preference.MaterialListPreference
+ android:entryValues="@array/default_page_values"
+ android:entries="@array/default_page_titles"
+ android:key="prefDefaultPage"
+ android:title="@string/pref_default_page"
+ android:summary="@string/pref_default_page_sum"
+ android:defaultValue="HomeFragment"/>
+ <SwitchPreferenceCompat
+ android:key="prefBackButtonOpensDrawer"
+ android:title="@string/pref_back_button_opens_drawer"
+ android:summary="@string/pref_back_button_opens_drawer_summary"
+ android:defaultValue="false"/>
+ <Preference
+ android:key="prefSwipe"
+ android:summary="@string/swipeactions_summary"
+ android:title="@string/swipeactions_label"/>
+ </PreferenceCategory>
+</PreferenceScreen>