From dc9725735baa027ce68a59648cc810e7daf77ce9 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Sat, 5 Mar 2022 11:33:07 +0800 Subject: Fix preview issue in PostCompactBaseViewHolder in PostRecyclerViewAdapter. --- app/src/main/res/layout/item_post_compact.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/item_post_compact.xml b/app/src/main/res/layout/item_post_compact.xml index 83335fbd..de83f336 100644 --- a/app/src/main/res/layout/item_post_compact.xml +++ b/app/src/main/res/layout/item_post_compact.xml @@ -225,7 +225,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/thumbnail_compact_layout_rounded_edge" - android:scaleType="center" /> + android:scaleType="centerCrop" />