From df91754c3c02d08a6323732d1afbe2e1d82f86ea Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 2 Mar 2022 10:10:18 +0100 Subject: [PATCH] use center crop at the contact images --- app/src/main/res/layout/activity_edit_contact.xml | 1 + app/src/main/res/layout/activity_view_contact.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/res/layout/activity_edit_contact.xml b/app/src/main/res/layout/activity_edit_contact.xml index 31940e78..2dd990b8 100644 --- a/app/src/main/res/layout/activity_edit_contact.xml +++ b/app/src/main/res/layout/activity_edit_contact.xml @@ -24,6 +24,7 @@ android:layout_height="@dimen/top_contact_image_height" android:layout_marginBottom="@dimen/normal_margin" android:contentDescription="@string/change_photo" + android:scaleType="centerCrop" tools:src="@drawable/ic_person_vector" />