diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-18 17:01:23 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-18 17:01:23 +0000 |
commit | 3552a9a490c64eec8e56f55fef2b359bcdabe5d1 (patch) | |
tree | f0d00bb16734ffda1fe550cf9977120e7652318f /app/src/main/res | |
parent | 4aa37adf43c5c6baeab12e4bc69bb907500eba44 (diff) | |
download | infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar.gz infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar.bz2 infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar.lz infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar.xz infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.tar.zst infinity-for-reddit-3552a9a490c64eec8e56f55fef2b359bcdabe5d1.zip |
Add an option to download all media in a gallery in ViewRedditGalleryActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/fragment_post_options_bottom_sheet.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/menu/view_reddit_gallery_activity.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/app/src/main/res/layout/fragment_post_options_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_options_bottom_sheet.xml index 3febcdd4..c5aa09b6 100644 --- a/app/src/main/res/layout/fragment_post_options_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_post_options_bottom_sheet.xml @@ -126,7 +126,7 @@ android:paddingTop="16dp" android:paddingEnd="32dp" android:paddingBottom="16dp" - android:text="@string/action_download_gallery" + android:text="@string/action_download_all_gallery_media" android:textColor="?attr/primaryTextColor" android:textSize="?attr/font_default" android:visibility="gone" diff --git a/app/src/main/res/menu/view_reddit_gallery_activity.xml b/app/src/main/res/menu/view_reddit_gallery_activity.xml new file mode 100644 index 00000000..f76cc079 --- /dev/null +++ b/app/src/main/res/menu/view_reddit_gallery_activity.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + <item + android:id="@+id/action_download_all_gallery_media_view_reddit_gallery_activity" + android:orderInCategory="10" + android:title="@string/action_download_all_gallery_media" + app:showAsAction="never" /> +</menu>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fcb7d0b0..481aefe5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -99,7 +99,7 @@ <string name="action_more_options">More Options</string> <string name="action_add_to_home_screen">Add to Home screen</string> <string name="action_reset_fab_position">Reset FAB position</string> - <string name="action_download_gallery">Download gallery</string> + <string name="action_download_all_gallery_media">Download All Gallery Media</string> <string name="parse_json_response_error">Error occurred when parsing the JSON response</string> <string name="retrieve_token_error">Error Retrieving the token</string> |