From 5b831aafbc58f70a44d3df8a7aaf27a81bfd2dac Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 22 Feb 2021 21:02:09 +0800 Subject: Continue adding Card Layout 2. --- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 9 +++++++-- app/src/main/res/layout/item_post_card_2_text.xml | 4 ++-- app/src/main/res/layout/item_post_card_2_video_autoplay.xml | 4 ++-- app/src/main/res/layout/item_post_card_2_with_preview.xml | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) 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 09bb8e27..04b23880 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -1755,8 +1755,13 @@ public class PostRecyclerViewAdapter extends PagedListAdapter + android:layout_height="1dp" + android:paddingBottom="8dp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_post_card_2_video_autoplay.xml b/app/src/main/res/layout/item_post_card_2_video_autoplay.xml index 99b9497a..9047c717 100644 --- a/app/src/main/res/layout/item_post_card_2_video_autoplay.xml +++ b/app/src/main/res/layout/item_post_card_2_video_autoplay.xml @@ -5,7 +5,6 @@ android:layout_height="wrap_content" xmlns:tools="http://schemas.android.com/tools" android:paddingTop="8dp" - android:layout_marginBottom="8dp" android:clickable="true" android:focusable="true" android:background="?attr/selectableItemBackground" @@ -303,6 +302,7 @@ + android:layout_height="1dp" + android:paddingBottom="8dp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_post_card_2_with_preview.xml b/app/src/main/res/layout/item_post_card_2_with_preview.xml index 351fd1d7..4007aae2 100644 --- a/app/src/main/res/layout/item_post_card_2_with_preview.xml +++ b/app/src/main/res/layout/item_post_card_2_with_preview.xml @@ -5,7 +5,6 @@ android:layout_height="wrap_content" xmlns:tools="http://schemas.android.com/tools" android:paddingTop="8dp" - android:layout_marginBottom="8dp" android:clickable="true" android:focusable="true" android:background="?attr/selectableItemBackground" @@ -320,6 +319,7 @@ + android:layout_height="1dp" + android:paddingBottom="8dp" /> \ No newline at end of file -- cgit v1.2.3