From d2d8d2fcef37f1099dd11353553357f534300fbd Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 21 Feb 2021 23:08:58 +0800 Subject: Continue adding Card Layout 2. --- .../res/layout/item_post_card_2_with_preview.xml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'app/src/main') 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 f603c0d3..fa123b90 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 @@ -98,6 +98,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="16dp" + app:flRowVerticalGravity="center" app:flChildSpacing="16dp" app:flChildSpacingForLastRow="align" app:flRowSpacing="8dp"> @@ -187,18 +188,15 @@ android:src="@drawable/crosspost" android:visibility="gone" /> - + - +