From 7987dd684a40d0817151d581c2071c7c88253ef3 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 3 Aug 2021 15:44:52 +0800 Subject: Minor UI tweaks. --- app/src/main/res/layout/item_post_card_2_with_preview.xml | 6 +++--- app/src/main/res/layout/item_post_gallery.xml | 10 ++++++---- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'app/src') 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 8890981f..0accab55 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 @@ -46,7 +46,6 @@ android:id="@+id/load_image_error_relative_layout_item_post_card_2_with_preview" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center" android:visibility="gone"> diff --git a/app/src/main/res/layout/item_post_gallery.xml b/app/src/main/res/layout/item_post_gallery.xml index 3d32cd04..19a2e418 100644 --- a/app/src/main/res/layout/item_post_gallery.xml +++ b/app/src/main/res/layout/item_post_gallery.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" app:cardElevation="2dp" @@ -43,16 +44,17 @@ android:id="@+id/load_image_error_relative_layout_item_post_gallery" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center" - android:visibility="gone"> + android:visibility="gone" + tools:visibility="visible"> -- cgit v1.2.3