From 97491bb824e4118a4f58405bd93e82f255747e64 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Tue, 4 Aug 2020 16:27:39 +1000 Subject: [PATCH] Make new private chat screen edit text work with multiple lines --- res/layout-sw400dp/fragment_enter_public_key.xml | 6 +++++- res/layout/fragment_enter_public_key.xml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/res/layout-sw400dp/fragment_enter_public_key.xml b/res/layout-sw400dp/fragment_enter_public_key.xml index 2a3e569d4..49efbd40a 100644 --- a/res/layout-sw400dp/fragment_enter_public_key.xml +++ b/res/layout-sw400dp/fragment_enter_public_key.xml @@ -12,10 +12,14 @@ style="@style/SessionEditText" android:id="@+id/publicKeyEditText" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="80dp" android:layout_marginLeft="@dimen/large_spacing" android:layout_marginTop="@dimen/large_spacing" android:layout_marginRight="@dimen/large_spacing" + android:paddingTop="0dp" + android:paddingBottom="0dp" + android:maxLines="2" + android:gravity="center_vertical" android:hint="@string/fragment_enter_public_key_edit_text_hint" />