diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-07-18 01:31:05 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-07-18 01:31:05 +0000 |
commit | 2863bac0111daddf3e1d762be6266a525f59e95f (patch) | |
tree | 53a9bd1450d46209434dee02cbbaa6b1ae21f2dc /app/src/main/res | |
parent | 695076a1bdcae381db3255b296c551763d96ddcf (diff) | |
download | infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar.gz infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar.bz2 infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar.lz infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar.xz infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.tar.zst infinity-for-reddit-2863bac0111daddf3e1d762be6266a525f59e95f.zip |
Add an entry for Display mode in CustomizeCommentFilterActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_customize_comment_filter.xml | 25 | ||||
-rw-r--r-- | app/src/main/res/values/arrays.xml | 5 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 4 |
3 files changed, 34 insertions, 0 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 9153e01a..dbb24455 100644 --- a/app/src/main/res/layout/activity_customize_comment_filter.xml +++ b/app/src/main/res/layout/activity_customize_comment_filter.xml @@ -62,6 +62,31 @@ </com.google.android.material.textfield.TextInputLayout> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:paddingStart="20dp"> + + <TextView + android:id="@+id/display_mode_title_text_view_customize_comment_filter_activity" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:text="@string/comment_filter_display_mode" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> + + <Spinner + android:id="@+id/display_mode_spinner_customize_comment_filter_activity" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:entries="@array/comment_filter_display_mode" /> + + </LinearLayout> + <com.google.android.material.textfield.TextInputLayout android:id="@+id/exclude_strings_text_input_layout_customize_comment_filter_activity" android:layout_width="match_parent" diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 8da3ffdb..2acccb9a 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -720,4 +720,9 @@ <item>0</item> </string-array> + <string-array name="comment_filter_display_mode"> + <item>@string/comment_filter_display_mode_remove_comments</item> + <item>@string/comment_filter_display_mode_fully_collapse_comments</item> + </string-array> + </resources> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 039627dd..5f772352 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1401,5 +1401,9 @@ <string name="emote">Emote</string> <string name="none">None</string> + <string name="comment_filter_display_mode">Display mode</string> + <string name="comment_filter_display_mode_remove_comments">Remove comments</string> + <string name="comment_filter_display_mode_fully_collapse_comments">Fully collapse comments</string> + </resources> |