From 89cd1cc7cee540889be8a01e28c9b6c9cf4816e9 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sun, 10 Sep 2023 11:20:48 -0400 Subject: Continue adding Card Layout 3. --- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 9 ++++++++- app/src/main/res/layout/item_post_card_3_with_preview.xml | 10 +++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java index cd2e141d..36b33332 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -197,6 +197,7 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter { diff --git a/app/src/main/res/layout/item_post_card_3_with_preview.xml b/app/src/main/res/layout/item_post_card_3_with_preview.xml index f68050b0..268f5933 100644 --- a/app/src/main/res/layout/item_post_card_3_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_3_with_preview.xml @@ -257,8 +257,7 @@ android:id="@+id/bottom_constraint_layout_item_post_with_preview" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingStart="8dp" - android:paddingEnd="8dp"> + android:padding="8dp"> @@ -296,7 +297,7 @@