From 5a61f0d53af2a4b286373543039e97f197d5ace7 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 16 Sep 2018 10:55:20 +0000 Subject: [PATCH] Limit height of address fields in message view Fixes #121 --- app/src/main/res/layout/fragment_message.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/src/main/res/layout/fragment_message.xml b/app/src/main/res/layout/fragment_message.xml index 6d04908ef9..77a32a9877 100644 --- a/app/src/main/res/layout/fragment_message.xml +++ b/app/src/main/res/layout/fragment_message.xml @@ -30,6 +30,8 @@ android:layout_width="24dp" android:layout_height="24dp" android:layout_marginStart="6dp" + android:maxHeight="60dp" + android:scrollbars="vertical" android:src="@drawable/baseline_person_24" app:layout_constraintBottom_toBottomOf="@+id/tvFrom" app:layout_constraintStart_toEndOf="@id/ivFlagged" @@ -115,6 +117,8 @@ android:layout_marginEnd="6dp" android:layout_marginStart="6dp" android:freezesText="true" + android:maxHeight="60dp" + android:scrollbars="vertical" android:text="To" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textIsSelectable="true" @@ -162,6 +166,8 @@ android:layout_marginEnd="6dp" android:layout_marginStart="6dp" android:freezesText="true" + android:maxHeight="60dp" + android:scrollbars="vertical" android:text="Reply to" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textIsSelectable="true" @@ -186,6 +192,8 @@ android:layout_marginEnd="6dp" android:layout_marginStart="6dp" android:freezesText="true" + android:maxHeight="60dp" + android:scrollbars="vertical" android:text="Cc" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textIsSelectable="true" @@ -210,6 +218,8 @@ android:layout_marginEnd="6dp" android:layout_marginStart="6dp" android:freezesText="true" + android:maxHeight="60dp" + android:scrollbars="vertical" android:text="Bcc" android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textIsSelectable="true"