From 99731af585ae5b9328403f53994815809fc6ac74 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 6 Mar 2015 17:13:28 +0100 Subject: [PATCH] Prevent image bubbles to take all the screen if image received is very big and scaled down top bar in chat for tablets --- res/layout-sw533dp-land/avatar.xml | 29 ------------------------- res/layout/chat_bubble_alt_incoming.xml | 4 +++- res/layout/chat_bubble_alt_outgoing.xml | 4 +++- res/layout/chat_bubble_incoming.xml | 4 +++- res/layout/chat_bubble_outgoing.xml | 4 +++- 5 files changed, 12 insertions(+), 33 deletions(-) delete mode 100644 res/layout-sw533dp-land/avatar.xml diff --git a/res/layout-sw533dp-land/avatar.xml b/res/layout-sw533dp-land/avatar.xml deleted file mode 100644 index 361ea0b10..000000000 --- a/res/layout-sw533dp-land/avatar.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/res/layout/chat_bubble_alt_incoming.xml b/res/layout/chat_bubble_alt_incoming.xml index 2369f271a..8a9566178 100644 --- a/res/layout/chat_bubble_alt_incoming.xml +++ b/res/layout/chat_bubble_alt_incoming.xml @@ -17,7 +17,9 @@ android:adjustViewBounds="true" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_weight="1" /> + android:layout_weight="1" + android:maxWidth="250dp" + android:maxHeight="250dp" />