diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-14 22:51:18 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-10-14 22:51:18 +0000 |
commit | 444a9b887700483a2c7d54ccc648db697ec63257 (patch) | |
tree | 2569080e94ee892db01693e882e09f491a6c2a1a /app/src/main/res | |
parent | cbd1d97188ba71d47f213c404ae59f99f2ab0be0 (diff) | |
download | infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar.gz infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar.bz2 infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar.lz infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar.xz infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.tar.zst infinity-for-reddit-444a9b887700483a2c7d54ccc648db697ec63257.zip |
Start tweaking PostFilterPreferenceActivity.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_post_card_3_text.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_filter.xml | 45 |
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 |