diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-03-26 11:12:08 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-03-26 11:12:08 +0000 |
commit | 57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea (patch) | |
tree | 9e2b4680e1a17049395c28ba98ee5fe217577d98 /app/src/main/res | |
parent | a615b2d20e1537a51a68ac99cdef66de6c73ed00 (diff) | |
download | infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar.gz infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar.bz2 infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar.lz infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar.xz infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.tar.zst infinity-for-reddit-57a8e69eb122a6cba4bb1e0d37f0fc31c5d14bea.zip |
New post filter option: exclude domains.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_customize_post_filter.xml | 20 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_customize_post_filter.xml b/app/src/main/res/layout/activity_customize_post_filter.xml index 7768b75c..572d6f94 100644 --- a/app/src/main/res/layout/activity_customize_post_filter.xml +++ b/app/src/main/res/layout/activity_customize_post_filter.xml @@ -457,6 +457,26 @@ </com.google.android.material.textfield.TextInputLayout> <com.google.android.material.textfield.TextInputLayout + android:id="@+id/excludes_domains_text_input_layout_customize_post_filter_activity" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:paddingStart="16dp" + android:paddingEnd="16dp" + style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"> + + <com.google.android.material.textfield.TextInputEditText + android:id="@+id/excludes_domains_text_input_edit_text_customize_post_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_domains_hint" /> + + </com.google.android.material.textfield.TextInputLayout> + + <com.google.android.material.textfield.TextInputLayout android:id="@+id/min_vote_text_input_layout_customize_post_filter_activity" 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 254384a7..5a46106f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1015,6 +1015,7 @@ <string name="exclude_users_hint">Exclude users (e.g. Hostilenemy,random)</string> <string name="exclude_flairs_hint">Exclude flairs (e.g. flair1,flair2)</string> <string name="contain_flairs_hint">Contain flairs (e.g. flair1,flair2)</string> + <string name="exclude_domains_hint">Exclude domains</string> <string name="min_vote_hint">Min vote (-1: no restriction)</string> <string name="max_vote_hint">Max vote (-1: no restriction)</string> <string name="min_comments_hint">Min comments (-1: no restriction)</string> |