diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-06 03:54:50 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-06 03:54:50 +0000 |
commit | cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1 (patch) | |
tree | c6f3de227af994c97c32be94dc2bc13ec2121263 /app/src/main/res/xml | |
parent | 60eb71fe11b166a30dd0b879ea935e1769120c63 (diff) | |
download | infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.gz infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.bz2 infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.lz infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.xz infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.tar.zst infinity-for-reddit-cefc21fd1ba9023e89d9d70f27e36ebb29ed53b1.zip |
Select download location is now available. Download images and gifs to locations set by users in ViewImageOrGifActivity is available.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/download_location_preferences.xml | 13 | ||||
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 5 |
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" |