From 18c2eef5b877db41825f6703ca74538f425a73d2 Mon Sep 17 00:00:00 2001 From: Margaux Clerc Date: Fri, 13 Nov 2015 15:09:45 +0100 Subject: [PATCH] Improve chat view and new conversation --- res/layout/chat.xml | 28 +++++++++++++--------------- res/layout/chat_bubble_incoming.xml | 7 ++++--- res/layout/chat_bubble_outgoing.xml | 9 ++++----- res/layout/search_contact_cell.xml | 4 +++- res/values/strings.xml | 2 +- src/org/linphone/ChatFragment.java | 22 ++++++++++++++++------ src/org/linphone/ui/BubbleChat.java | 1 - 7 files changed, 41 insertions(+), 32 deletions(-) diff --git a/res/layout/chat.xml b/res/layout/chat.xml index b43ce632c..b43eecd88 100644 --- a/res/layout/chat.xml +++ b/res/layout/chat.xml @@ -143,20 +143,18 @@ android:layout_marginBottom="10dp" android:layout_below="@+id/top_bar"/> - + \ No newline at end of file diff --git a/res/layout/chat_bubble_incoming.xml b/res/layout/chat_bubble_incoming.xml index 91739a4ec..3fe587400 100644 --- a/res/layout/chat_bubble_incoming.xml +++ b/res/layout/chat_bubble_incoming.xml @@ -69,8 +69,7 @@ android:visibility="gone" android:layout_width="150dp" android:layout_height="150dp" - android:scaleType="center" - android:layout_centerInParent="true" + android:scaleType="centerInside" android:maxWidth="250dp" android:maxHeight="250dp" /> @@ -83,8 +82,10 @@