summaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-01-27 09:24:48 +0100
committerByteHamster <info@bytehamster.com>2020-01-29 11:04:08 +0100
commitc83f71d6e95eb4f6126202595d9f6ac3baeedcc1 (patch)
tree1000f70865f50f40f7275523f0f2101162c7f6f4 /app/src/main/res/xml
parent8ed2102c85571efd2562a50c4cfedc0b2eb09459 (diff)
downloadAntennaPod-c83f71d6e95eb4f6126202595d9f6ac3baeedcc1.zip
Split import/export and storage preferences
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/preferences_import_export.xml18
-rw-r--r--app/src/main/res/xml/preferences_storage.xml19
2 files changed, 21 insertions, 16 deletions
diff --git a/app/src/main/res/xml/preferences_import_export.xml b/app/src/main/res/xml/preferences_import_export.xml
new file mode 100644
index 000000000..72ca82fd5
--- /dev/null
+++ b/app/src/main/res/xml/preferences_import_export.xml
@@ -0,0 +1,18 @@
+<?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:key="prefOpmlExport"
+ android:title="@string/opml_export_label"/>
+ <Preference
+ android:key="prefOpmlImport"
+ android:title="@string/opml_import_label"/>
+ <Preference
+ android:key="prefHtmlExport"
+ android:title="@string/html_export_label"/>
+ <Preference
+ android:key="importExport"
+ search:keywords="@string/import_export_search_keywords"
+ android:title="@string/import_export"/>
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preferences_storage.xml b/app/src/main/res/xml/preferences_storage.xml
index 9f394ad12..fbadf865b 100644
--- a/app/src/main/res/xml/preferences_storage.xml
+++ b/app/src/main/res/xml/preferences_storage.xml
@@ -31,20 +31,7 @@
android:key="prefDeleteRemovesFromQueue"
android:summary="@string/pref_delete_removes_from_queue_sum"
android:title="@string/pref_delete_removes_from_queue_title"/>
-
- <PreferenceCategory android:title="@string/import_export_pref">
- <Preference
- android:key="prefOpmlExport"
- android:title="@string/opml_export_label"/>
- <Preference
- android:key="prefOpmlImport"
- android:title="@string/opml_import_label"/>
- <Preference
- android:key="prefHtmlExport"
- android:title="@string/html_export_label"/>
- <Preference
- android:key="importExport"
- search:keywords="@string/import_export_search_keywords"
- android:title="@string/import_export"/>
- </PreferenceCategory>
+ <Preference
+ android:title="@string/import_export_pref"
+ android:key="prefImportExport"/>
</PreferenceScreen>