aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-sw600dp
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-20 19:08:04 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-08-20 19:08:04 +0000
commit3f5d298ff5a65436b9922206ab067bd28c34bbe6 (patch)
treef8a48d29481686eaf5e801412767210ed838a658 /app/src/main/res/layout-sw600dp
parente4abfc6e38dc80b4376e86a28813d5c098ace5d6 (diff)
downloadinfinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.gz
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.bz2
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.lz
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.xz
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.tar.zst
infinity-for-reddit-3f5d298ff5a65436b9922206ab067bd28c34bbe6.zip
Refine UI in CustomizePostFilterActivity and CustomizeCommentFilterActivity.
Diffstat (limited to 'app/src/main/res/layout-sw600dp')
-rw-r--r--app/src/main/res/layout-sw600dp/activity_customize_post_filter.xml61
1 files changed, 46 insertions, 15 deletions
diff --git a/app/src/main/res/layout-sw600dp/activity_customize_post_filter.xml b/app/src/main/res/layout-sw600dp/activity_customize_post_filter.xml
index 61ce99cc..32197519 100644
--- a/app/src/main/res/layout-sw600dp/activity_customize_post_filter.xml
+++ b/app/src/main/res/layout-sw600dp/activity_customize_post_filter.xml
@@ -50,26 +50,57 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <com.google.android.material.textfield.TextInputLayout
- android:id="@+id/name_text_input_layout_customize_post_filter_activity"
+ <com.google.android.material.card.MaterialCardView
+ android:id="@+id/name_card_view_customize_post_filter_activity"
+ style="?attr/materialCardViewFilledStyle"
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.Material3.TextInputLayout.OutlinedBox">
-
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/name_text_input_edit_text_customize_post_filter_activity"
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="8dp"
+ app:cardCornerRadius="12dp">
+
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:fontFamily="?attr/font_family"
- android:textSize="?attr/font_default"
- android:hint="@string/post_filter_name_hint"
- android:maxLines="10" />
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/name_explanation_text_view_customize_post_filter_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fontFamily="?attr/font_family"
+ android:paddingStart="16dp"
+ android:paddingTop="8dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="8dp"
+ android:text="@string/post_filter_post_type_explanation"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_default" />
- </com.google.android.material.textfield.TextInputLayout>
+ <com.google.android.material.textfield.TextInputLayout
+ android:id="@+id/name_text_input_layout_customize_post_filter_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ style="@style/Widget.Material3.TextInputLayout.OutlinedBox">
+
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/name_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/post_filter_name_hint"
+ android:maxLines="10" />
+
+ </com.google.android.material.textfield.TextInputLayout>
+
+ </LinearLayout>
+
+ </com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/post_type_card_view_customize_post_filter_activity"