From 645139eb68cb966b90d36790e5b60c0bc6727c78 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 25 Apr 2014 23:06:20 +0200 Subject: couple of more optimazations on image loading --- res/layout/conversation_list_row.xml | 1 + res/layout/message_recieved.xml | 4 ++-- res/layout/message_sent.xml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'res/layout') diff --git a/res/layout/conversation_list_row.xml b/res/layout/conversation_list_row.xml index 76016ada..dda09178 100644 --- a/res/layout/conversation_list_row.xml +++ b/res/layout/conversation_list_row.xml @@ -52,6 +52,7 @@ android:id="@+id/conversation_lastimage" android:layout_width="fill_parent" android:layout_height="36dp" + android:background="#333333" android:scaleType="centerCrop" /> diff --git a/res/layout/message_recieved.xml b/res/layout/message_recieved.xml index 9893ef23..9f0c41e5 100644 --- a/res/layout/message_recieved.xml +++ b/res/layout/message_recieved.xml @@ -26,9 +26,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" - android:maxHeight="288dp" - android:maxWidth="288dp" android:paddingBottom="2dp" + android:scaleType="fitXY" + android:background="#333333" />