aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/download_location_preferences.xml13
-rw-r--r--app/src/main/res/xml/main_preferences.xml5
2 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/xml/download_location_preferences.xml b/app/src/main/res/xml/download_location_preferences.xml
new file mode 100644
index 00000000..7954cb87
--- /dev/null
+++ b/app/src/main/res/xml/download_location_preferences.xml
@@ -0,0 +1,13 @@
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+ <Preference
+ app:key="image_download_location"
+ app:title="@string/settings_image_download_location_title" />
+
+ <Preference
+ app:key="gif_download_location"
+ app:title="@string/settings_gif_download_location_title" />
+
+ <Preference
+ app:key="video_download_location"
+ app:title="@string/settings_video_download_location_title" />
+</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 9af72116..ce6ff184 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -36,6 +36,11 @@
app:title="@string/settings_lazy_mode_interval_title"
app:useSimpleSummaryProvider="true" />
+ <Preference
+ app:title="@string/settings_download_location_title"
+ android:icon="@drawable/ic_download_24dp"
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" />
+
<SwitchPreference
app:defaultValue="false"
app:key="save_front_page_scrolled_position"