From 5e81ac03816846d44f376fc50a04dadd59c7e996 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:26:19 -0400 Subject: Continue adding Card Layout 3. --- .../adapters/PostRecyclerViewAdapter.java | 15 ++++++++---- .../res/layout/item_post_card_3_with_preview.xml | 27 +++++++++++++--------- 2 files changed, 27 insertions(+), 15 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 c9d96cef..17d3e930 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -1784,11 +1784,15 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter + + - - @@ -304,8 +307,8 @@ android:id="@+id/save_button_item_post_with_preview" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="16dp" app:strokeWidth="0dp" + app:iconSize="24dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/vote_button_toggle_item_post_card_3_with_preview" @@ -317,6 +320,7 @@ android:layout_height="wrap_content" app:strokeWidth="0dp" app:icon="@drawable/ic_share_grey_24dp" + app:iconSize="24dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/save_button_item_post_with_preview" @@ -334,6 +338,7 @@ android:fontFamily="?attr/font_family" app:strokeWidth="0dp" app:iconTint="@null" + app:iconSize="24dp" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/share_button_item_post_with_preview" -- cgit v1.2.3