diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-22 02:48:44 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-22 02:48:44 +0000 |
commit | 2afbba4b682eade2cf1b999309a760cab5afd5aa (patch) | |
tree | 2baf907b12f5beebdf7db5358eaa7a69252b7bae /app/src/main/res | |
parent | 3d4bb32cbf55440e249c5c335131aeacb4067d19 (diff) | |
download | infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar.gz infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar.bz2 infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar.lz infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar.xz infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.tar.zst infinity-for-reddit-2afbba4b682eade2cf1b999309a760cab5afd5aa.zip |
Add "exclude users" entry in CustomizeCommentFilterActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_customize_comment_filter.xml | 39 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 39 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_customize_comment_filter.xml b/app/src/main/res/layout/activity_customize_comment_filter.xml index 32022e92..9153e01a 100644 --- a/app/src/main/res/layout/activity_customize_comment_filter.xml +++ b/app/src/main/res/layout/activity_customize_comment_filter.xml @@ -78,11 +78,48 @@ android:layout_height="wrap_content" android:fontFamily="?attr/font_family" android:textSize="?attr/font_default" - android:hint="@string/title_excludes_strings_hint" + android:hint="@string/excludes_strings_hint" android:maxLines="10" /> </com.google.android.material.textfield.TextInputLayout> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <com.google.android.material.textfield.TextInputLayout + android:id="@+id/exclude_users_text_input_layout_customize_comment_filter_activity" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:layout_marginStart="16dp" + style="@style/Widget.Material3.TextInputLayout.OutlinedBox"> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/exclude_users_text_input_edit_text_customize_comment_filter_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:fontFamily="?attr/font_family" + android:textSize="?attr/font_default" + android:hint="@string/exclude_users_hint" + android:maxLines="10" /> + + </com.google.android.material.textfield.TextInputLayout> + + <ImageView + android:id="@+id/add_users_image_view_customize_comment_filter_activity" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:padding="16dp" + android:background="?actionBarItemBackground" + android:clickable="true" + android:focusable="true" /> + + </LinearLayout> + <com.google.android.material.textfield.TextInputLayout android:id="@+id/min_vote_text_input_layout_customize_comment_filter_activity" android:layout_width="match_parent" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6f97b59f..915535ce 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1162,6 +1162,7 @@ <string name="click_to_apply_post_filter">Click here to apply it to some post feeds</string> <string name="post_filter_usage_embedded_more_count">and %1$d more</string> + <string name="excludes_strings_hint">Exclude keywords (key1,key2)</string> <string name="comment_filter_name_hint">Comment Filter Name</string> <string name="comment_filter_requires_a_name">What is the name of this comment filter?</string> <string name="duplicate_comment_filter_dialog_title">\'%1$s\' Already Exists</string> |