From e2fd2b2491d9ac79c58691707b7d64657619cd2a Mon Sep 17 00:00:00 2001 From: 1 Date: Tue, 9 May 2023 20:07:47 +0000 Subject: Modify thumbnails on landscape phones to UX spec - Make the image 46x46dp centerCrop. - Center the file type overlay - Modify the video icon drawable to align it to the center. Bug: 281541996 Test: portrait and landscape shares with images, files and videos. Change-Id: I9168d49506be74f73c39a6920e7d9071ec336d10 --- java/res/layout/image_preview_image_item.xml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'java/res/layout') diff --git a/java/res/layout/image_preview_image_item.xml b/java/res/layout/image_preview_image_item.xml index 52f88ea0..3f534831 100644 --- a/java/res/layout/image_preview_image_item.xml +++ b/java/res/layout/image_preview_image_item.xml @@ -14,21 +14,21 @@ ~ limitations under the License. --> + + android:layout_width="46dp" + android:layout_height="46dp"> + app:radius="8dp" /> + android:layout_gravity="center" /> -- cgit v1.2.3-59-g8ed1b