From 444a9b887700483a2c7d54ccc648db697ec63257 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sat, 14 Oct 2023 18:51:18 -0400 Subject: Start tweaking PostFilterPreferenceActivity. --- .../adapters/PostFilterRecyclerViewAdapter.java | 18 ++++----- app/src/main/res/layout/item_post_card_3_text.xml | 1 - app/src/main/res/layout/item_post_filter.xml | 45 ++++++++++++++++------ 3 files changed, 42 insertions(+), 22 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostFilterRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostFilterRecyclerViewAdapter.java index d2c3eabf..56559ed1 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostFilterRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostFilterRecyclerViewAdapter.java @@ -13,6 +13,7 @@ import java.util.List; import ml.docilealligator.infinityforreddit.R; import ml.docilealligator.infinityforreddit.activities.BaseActivity; import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper; +import ml.docilealligator.infinityforreddit.databinding.ItemPostFilterBinding; import ml.docilealligator.infinityforreddit.postfilter.PostFilter; import ml.docilealligator.infinityforreddit.utils.Utils; @@ -51,14 +52,14 @@ public class PostFilterRecyclerViewAdapter extends RecyclerView.Adapter { 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"> - \ 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"> + + + + + + + + \ No newline at end of file -- cgit v1.2.3