From 9dec8e761e5bcffbbe4f11018387f461472de8c8 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Sat, 9 Aug 2014 14:25:55 +0200 Subject: changed all displays of avatars to be center crop instead of fitXY --- res/layout/activity_contact_details.xml | 2 +- res/layout/contact.xml | 1 + res/layout/conversation_list_row.xml | 3 ++- res/layout/message_recieved.xml | 2 +- res/layout/message_sent.xml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/res/layout/activity_contact_details.xml b/res/layout/activity_contact_details.xml index 8f0b42c1..a00b2340 100644 --- a/res/layout/activity_contact_details.xml +++ b/res/layout/activity_contact_details.xml @@ -27,7 +27,7 @@ android:layout_width="72dp" android:layout_height="72dp" android:layout_centerVertical="true" - android:scaleType="fitXY"/> + android:scaleType="centerCrop"/> + android:layout_alignParentLeft="true" + android:scaleType="centerCrop"/> diff --git a/res/layout/message_sent.xml b/res/layout/message_sent.xml index d4970e6f..21563eb4 100644 --- a/res/layout/message_sent.xml +++ b/res/layout/message_sent.xml @@ -34,7 +34,7 @@ android:layout_height="wrap_content" android:adjustViewBounds="true" android:paddingBottom="2dp" - android:scaleType="fitXY" + android:scaleType="centerCrop" android:background="@color/primarytext" /> -- cgit v1.2.3