diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-25 23:06:20 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-25 23:06:20 +0200 |
commit | 645139eb68cb966b90d36790e5b60c0bc6727c78 (patch) | |
tree | 9633c20bd4f2e5aa1906373bdea5a07b1aacd6fc /res/layout | |
parent | bf2d0d5596a08872230056d056241ee906962171 (diff) |
couple of more optimazations on image loading
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/conversation_list_row.xml | 1 | ||||
-rw-r--r-- | res/layout/message_recieved.xml | 4 | ||||
-rw-r--r-- | res/layout/message_sent.xml | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/res/layout/conversation_list_row.xml b/res/layout/conversation_list_row.xml index 76016adac..dda09178e 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" /> </LinearLayout> diff --git a/res/layout/message_recieved.xml b/res/layout/message_recieved.xml index 9893ef23c..9f0c41e5d 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" /> <TextView diff --git a/res/layout/message_sent.xml b/res/layout/message_sent.xml index f0950ef91..990df59b3 100644 --- a/res/layout/message_sent.xml +++ b/res/layout/message_sent.xml @@ -26,6 +26,8 @@ android:layout_height="wrap_content" android:adjustViewBounds="true" android:paddingBottom="2dp" + android:scaleType="fitXY" + android:background="#333333" /> <TextView |