From d9f2016db3174233c4f70d9c42dddd84f2d60367 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Sun, 10 Sep 2023 15:59:29 -0400 Subject: Continue adding Card Layout 3. --- .../res/layout/item_post_card_3_with_preview.xml | 144 +++++++++++---------- 1 file changed, 74 insertions(+), 70 deletions(-) (limited to 'app/src/main/res/layout') 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 268f5933..f22b2bb4 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 @@ -4,8 +4,11 @@ android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:tools="http://schemas.android.com/tools" - android:layout_margin="8dp" - app:cardCornerRadius="16dp" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + app:cardCornerRadius="12dp" app:cardBackgroundColor="#FBEEFC" style="?attr/materialCardViewFilledStyle"> @@ -14,6 +17,54 @@ android:layout_height="wrap_content" android:orientation="vertical"> + + + + + + + + + + + + + + + app:flRowSpacing="8dp" + android:visibility="gone"> - - - - - - - - - - - - - - + app:layout_constraintStart_toEndOf="@id/vote_button_toggle_item_post_card_3_with_preview" + style="?attr/materialIconButtonOutlinedStyle" /> + app:layout_constraintStart_toEndOf="@id/save_button_item_post_with_preview" + style="?attr/materialIconButtonOutlinedStyle" /> + app:layout_constraintStart_toEndOf="@id/share_button_item_post_with_preview" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHorizontal_bias="1" + style="?attr/materialButtonOutlinedStyle" />