From 2ebdc3f15939efa791d91ca5875a4acbef19b6f8 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 21 Feb 2021 23:01:18 +0800 Subject: Continue adding Card Layout 2. --- .../res/layout/item_post_card_2_with_preview.xml | 158 +++++++++++---------- 1 file changed, 80 insertions(+), 78 deletions(-) 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 8a5fe64e..f603c0d3 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 @@ -40,7 +40,7 @@ android:id="@+id/progress_bar_item_post_card_2_with_preview" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_centerInParent="true" /> + android:layout_gravity="center" /> - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +