diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-17 21:07:09 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-17 21:07:09 +0000 |
commit | 8497807139fde579040a2cae1fd87ac8774bcb10 (patch) | |
tree | 99f06524ed4c4f48050d311dd8a4cac515e7468a /app/src/main/res | |
parent | db09315c6d1917d4d334b3fb6b340f4af1a6e6d4 (diff) | |
download | infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar.gz infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar.bz2 infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar.lz infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar.xz infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.tar.zst infinity-for-reddit-8497807139fde579040a2cae1fd87ac8774bcb10.zip |
Add an option to download the entire gallery in PostOptionsBottomSheetFragment.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/fragment_post_options_bottom_sheet.xml | 21 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 22 insertions, 0 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 647819de..3febcdd4 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 @@ -112,6 +112,27 @@ app:drawableTint="?attr/primaryTextColor" /> <androidx.appcompat.widget.AppCompatTextView + android:id="@+id/download_all_text_view_post_options_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:drawableStart="@drawable/ic_download_day_night_24dp" + android:drawablePadding="48dp" + android:focusable="true" + android:fontFamily="?attr/font_family" + android:paddingStart="32dp" + android:paddingTop="16dp" + android:paddingEnd="32dp" + android:paddingBottom="16dp" + android:text="@string/action_download_gallery" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:visibility="gone" + app:drawableTint="?attr/primaryTextColor" /> + + <androidx.appcompat.widget.AppCompatTextView android:id="@+id/report_text_view_post_options_bottom_sheet_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 68c26e20..bd4ac962 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -99,6 +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="parse_json_response_error">Error occurred when parsing the JSON response</string> <string name="retrieve_token_error">Error Retrieving the token</string> |