From cf9ecb9adf40835a46a4491bcf2175c230d51f4b Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 6 May 2022 07:30:55 +0200 Subject: [PATCH] fix #30 - avatar is cropped in main menu --- app/src/main/res/layout/nav_header_main.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml index a26eae32..8f7c1078 100644 --- a/app/src/main/res/layout/nav_header_main.xml +++ b/app/src/main/res/layout/nav_header_main.xml @@ -11,7 +11,7 @@ android:layout_height="match_parent" android:layout_alignParentTop="true" android:contentDescription="@string/profile_banner" - android:scaleType="centerCrop" /> + android:scaleType="fitCenter" />