summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/preferences_storage.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml/preferences_storage.xml')
-rw-r--r--app/src/main/res/xml/preferences_storage.xml32
1 files changed, 22 insertions, 10 deletions
diff --git a/app/src/main/res/xml/preferences_storage.xml b/app/src/main/res/xml/preferences_storage.xml
index fc97f12da..c1d7a69fc 100644
--- a/app/src/main/res/xml/preferences_storage.xml
+++ b/app/src/main/res/xml/preferences_storage.xml
@@ -1,28 +1,40 @@
<?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">
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
- <Preference
+ <Preference
android:title="@string/choose_data_directory"
android:key="prefChooseDataDir"/>
- <ListPreference
+ <ListPreference
android:entryValues="@array/image_cache_size_values"
android:entries="@array/image_cache_size_options"
android:title="@string/pref_image_cache_size_title"
android:key="prefImageCacheSize"
android:summary="@string/pref_image_cache_size_sum"
android:defaultValue="100"/>
+ <de.danoeh.antennapod.preferences.SwitchCompatPreference
+ 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"/>
+ <de.danoeh.antennapod.preferences.SwitchCompatPreference
+ android:defaultValue="false"
+ android:enabled="true"
+ android:key="prefAutoDelete"
+ android:summary="@string/pref_auto_delete_sum"
+ android:title="@string/pref_auto_delete_title"/>
<PreferenceCategory android:title="@string/import_export_pref">
<Preference
- android:key="prefOpmlExport"
- android:title="@string/opml_export_label"/>
+ android:key="prefOpmlExport"
+ android:title="@string/opml_export_label"/>
<Preference
- android:key="prefOpmlImport"
- android:title="@string/opml_import_label"/>
+ android:key="prefOpmlImport"
+ android:title="@string/opml_import_label"/>
<Preference
- android:key="prefHtmlExport"
- android:title="@string/html_export_label"/>
+ android:key="prefHtmlExport"
+ android:title="@string/html_export_label"/>
</PreferenceCategory>
</PreferenceScreen>