aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-25 23:06:20 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-25 23:06:20 +0200
commit645139eb68cb966b90d36790e5b60c0bc6727c78 (patch)
tree9633c20bd4f2e5aa1906373bdea5a07b1aacd6fc /res/layout
parentbf2d0d5596a08872230056d056241ee906962171 (diff)
couple of more optimazations on image loading
Diffstat (limited to '')
-rw-r--r--res/layout/conversation_list_row.xml1
-rw-r--r--res/layout/message_recieved.xml4
-rw-r--r--res/layout/message_sent.xml2
3 files changed, 5 insertions, 2 deletions
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" />
</LinearLayout>
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"
/>
<TextView
diff --git a/res/layout/message_sent.xml b/res/layout/message_sent.xml
index f0950ef9..990df59b 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