From 9cef7f222116c5974ae410d8baac4649cf5ecb65 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Sun, 28 Jan 2024 10:43:06 +0100 Subject: [PATCH 1/2] Added limit to the message box size (#55) --- app/src/main/res/layout/layout_thread_send_message_holder.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/layout_thread_send_message_holder.xml b/app/src/main/res/layout/layout_thread_send_message_holder.xml index 8f3f6fb1..fdea49bb 100644 --- a/app/src/main/res/layout/layout_thread_send_message_holder.xml +++ b/app/src/main/res/layout/layout_thread_send_message_holder.xml @@ -112,6 +112,7 @@ android:hint="@string/type_a_message" android:inputType="textCapSentences|textMultiLine" android:minHeight="@dimen/normal_icon_size" + android:maxLines="5" app:layout_constraintBottom_toTopOf="@+id/attachment_picker_divider" app:layout_constraintEnd_toStartOf="@id/thread_select_sim_icon" app:layout_constraintStart_toEndOf="@+id/thread_add_attachment" /> From 3ab91c94f7b00708b262137652a87755ea34212f Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Thu, 8 Feb 2024 16:33:13 +0100 Subject: [PATCH 2/2] Increased max lines to 8 --- app/src/main/res/layout/layout_thread_send_message_holder.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/res/layout/layout_thread_send_message_holder.xml b/app/src/main/res/layout/layout_thread_send_message_holder.xml index fdea49bb..f09af48d 100644 --- a/app/src/main/res/layout/layout_thread_send_message_holder.xml +++ b/app/src/main/res/layout/layout_thread_send_message_holder.xml @@ -112,7 +112,7 @@ android:hint="@string/type_a_message" android:inputType="textCapSentences|textMultiLine" android:minHeight="@dimen/normal_icon_size" - android:maxLines="5" + android:maxLines="8" app:layout_constraintBottom_toTopOf="@+id/attachment_picker_divider" app:layout_constraintEnd_toStartOf="@id/thread_select_sim_icon" app:layout_constraintStart_toEndOf="@+id/thread_add_attachment" />