diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-11-04 04:06:30 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-11-04 04:06:30 +0000 |
commit | 6ee78c979f362e1f4573450df7db514be9f7bc4a (patch) | |
tree | 90a794adef65bda6792c41d335a65d90480e073b /app/src/main/res | |
parent | 66ce42081ca0b2b862abf9ddfc62778dd57bbd0f (diff) | |
download | infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar.gz infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar.bz2 infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar.lz infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar.xz infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.tar.zst infinity-for-reddit-6ee78c979f362e1f4573450df7db514be9f7bc4a.zip |
New option in CommentMoreBottomSheetFragment: Add to comment filter.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml | 19 | ||||
-rw-r--r-- | app/src/main/res/values/arrays.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 |
3 files changed, 25 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml index fcae03f0..2ae50a0f 100644 --- a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml @@ -183,6 +183,25 @@ android:visibility="gone" app:drawableStartCompat="@drawable/ic_preview_24dp" /> + <TextView + android:id="@+id/add_to_comment_filter_view_comment_more_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:drawablePadding="48dp" + android:focusable="true" + android:gravity="center_vertical" + android:paddingStart="32dp" + android:paddingTop="16dp" + android:paddingEnd="32dp" + android:paddingBottom="16dp" + android:text="@string/add_to_comment_filter" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" + app:drawableStartCompat="@drawable/ic_filter_24dp" /> + </LinearLayout> </androidx.core.widget.NestedScrollView> diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 020a1564..3283e2cd 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -577,6 +577,10 @@ <item>@string/contain_domain</item> </string-array> + <string-array name="add_to_comment_filter_options"> + <item>@string/exclude_user</item> + </string-array> + <string-array name="settings_app_lock_timeout"> <item>@string/app_lock_timeout_immediately</item> <item>@string/app_lock_timeout_1_min</item> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 915535ce..d0c97909 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1388,4 +1388,6 @@ Otherwise, Infinity may not load posts at all. Sorry for the inconvenience.</string> <string name="i_understand">I understand</string> + <string name="add_to_comment_filter">Add to Comment Filter</string> + </resources> |