diff options
Diffstat (limited to 'ui/preferences/src/main/res/xml/preferences_downloads.xml')
-rw-r--r-- | ui/preferences/src/main/res/xml/preferences_downloads.xml | 69 |
1 files changed, 69 insertions, 0 deletions
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> |