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/item_post_card_3_text.xml1
-rw-r--r--app/src/main/res/layout/item_post_filter.xml45
2 files changed, 33 insertions, 13 deletions
diff --git a/app/src/main/res/layout/item_post_card_3_text.xml b/app/src/main/res/layout/item_post_card_3_text.xml
index 1145188d..dbf9ac7e 100644
--- a/app/src/main/res/layout/item_post_card_3_text.xml
+++ b/app/src/main/res/layout/item_post_card_3_text.xml
@@ -9,7 +9,6 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
app:cardCornerRadius="12dp"
- app:cardBackgroundColor="#FBEEFC"
style="?attr/materialCardViewFilledStyle">
<LinearLayout
diff --git a/app/src/main/res/layout/item_post_filter.xml b/app/src/main/res/layout/item_post_filter.xml
index 62a5e886..8487e105 100644
--- a/app/src/main/res/layout/item_post_filter.xml
+++ b/app/src/main/res/layout/item_post_filter.xml
@@ -1,14 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
-<TextView
- xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
+<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
- android:paddingStart="72dp"
- android:paddingEnd="16dp"
- android:textColor="?attr/primaryTextColor"
- android:textSize="?attr/font_16"
- android:fontFamily="?attr/font_family"
- android:clickable="true"
- android:focusable="true"
- android:background="?attr/selectableItemBackground" /> \ No newline at end of file
+ android:layout_marginTop="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
+ app:cardBackgroundColor="#FBEEFC"
+ style="?attr/materialCardViewFilledStyle">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/post_filter_name_text_view_item_post_filter"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="72dp"
+ android:paddingEnd="16dp"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/font_16"
+ android:fontFamily="?attr/font_family"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ </LinearLayout>
+
+</com.google.android.material.card.MaterialCardView> \ No newline at end of file