Select download location is now available. Download images and gifs to locations set by users in ViewImageOrGifActivity is available.

This commit is contained in:
Alex Ning
2020-09-06 11:54:50 +08:00
parent 60eb71fe11
commit cefc21fd1b
22 changed files with 851 additions and 55 deletions

View File

@@ -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>

View File

@@ -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"