aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_customize_post_filter.xml51
-rw-r--r--app/src/main/res/layout/preference_switch.xml5
2 files changed, 39 insertions, 17 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 4f4695f0..e406cf39 100644
--- a/app/src/main/res/layout/activity_customize_post_filter.xml
+++ b/app/src/main/res/layout/activity_customize_post_filter.xml
@@ -59,7 +59,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/post_filter_name_hint" />
+ android:hint="@string/post_filter_name_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -319,7 +320,8 @@
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/title_excludes_strings_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -339,7 +341,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/title_contains_strings_hint" />
+ android:hint="@string/title_contains_strings_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -359,7 +362,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/title_excludes_regex_hint" />
+ android:hint="@string/title_excludes_regex_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -379,7 +383,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/title_contains_regex_hint" />
+ android:hint="@string/title_contains_regex_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -404,7 +409,8 @@
android:layout_weight="1"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/exclude_subreddits_hint" />
+ android:hint="@string/exclude_subreddits_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -440,7 +446,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/exclude_users_hint" />
+ android:hint="@string/exclude_users_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -472,7 +479,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/exclude_flairs_hint" />
+ android:hint="@string/exclude_flairs_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -492,7 +500,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/contain_flairs_hint" />
+ android:hint="@string/contain_flairs_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -512,7 +521,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/exclude_domains_hint" />
+ android:hint="@string/exclude_domains_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -532,7 +542,8 @@
android:layout_height="wrap_content"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/contain_domains_hint" />
+ android:hint="@string/contain_domains_hint"
+ android:maxLines="10" />
</com.google.android.material.textfield.TextInputLayout>
@@ -553,7 +564,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/min_vote_hint" />
+ android:hint="@string/min_vote_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
@@ -574,7 +586,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/max_vote_hint" />
+ android:hint="@string/max_vote_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
@@ -595,7 +608,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/min_comments_hint" />
+ android:hint="@string/min_comments_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
@@ -616,7 +630,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/max_comments_hint" />
+ android:hint="@string/max_comments_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
@@ -637,7 +652,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/min_awards_hint" />
+ android:hint="@string/min_awards_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
@@ -658,7 +674,8 @@
android:inputType="numberSigned"
android:fontFamily="?attr/font_family"
android:textSize="?attr/font_default"
- android:hint="@string/max_awards_hint" />
+ android:hint="@string/max_awards_hint"
+ android:maxLines="1" />
</com.google.android.material.textfield.TextInputLayout>
diff --git a/app/src/main/res/layout/preference_switch.xml b/app/src/main/res/layout/preference_switch.xml
new file mode 100644
index 00000000..04934b5b
--- /dev/null
+++ b/app/src/main/res/layout/preference_switch.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.google.android.material.materialswitch.MaterialSwitch xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/material_switch_switch_preference"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" /> \ No newline at end of file