diff options
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> |