From 11be26033956fa262d6cf685596a58bb206605f5 Mon Sep 17 00:00:00 2001 From: Marc Demierre Date: Wed, 26 Feb 2014 00:06:36 +0100 Subject: [PATCH] Compose panel: Rework padding and alignments Center components vertically and avoid giving a min height to the text field. Fixes #193 --- .../src/main/res/layout/chat_layout.xml | 79 ++++++++----------- 1 file changed, 35 insertions(+), 44 deletions(-) diff --git a/TMessagesProj/src/main/res/layout/chat_layout.xml b/TMessagesProj/src/main/res/layout/chat_layout.xml index 6f7cc65f6..e6d32583a 100644 --- a/TMessagesProj/src/main/res/layout/chat_layout.xml +++ b/TMessagesProj/src/main/res/layout/chat_layout.xml @@ -111,71 +111,62 @@ - - + + - - + + + android:enabled="false" + android:background="@android:color/transparent" + android:scaleType="centerInside" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_alignParentRight="true" + android:layout_centerVertical="true"/> + android:layout_toLeftOf="@id/chat_send_button"/>