From bdb90f1db04a186c83ff8c52985e6517145f4637 Mon Sep 17 00:00:00 2001 From: Moez Bhatti Date: Mon, 25 Jun 2018 17:49:18 -0400 Subject: [PATCH] Set max height for contact chip view --- presentation/src/main/res/layout/compose_activity.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/presentation/src/main/res/layout/compose_activity.xml b/presentation/src/main/res/layout/compose_activity.xml index 3be581bc..ca4b25b3 100644 --- a/presentation/src/main/res/layout/compose_activity.xml +++ b/presentation/src/main/res/layout/compose_activity.xml @@ -324,7 +324,9 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:gravity="center_vertical" + app:layout_constrainedHeight="true" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHeight_max="140dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> @@ -354,6 +356,7 @@ android:layout_height="wrap_content" android:layout_marginBottom="4dp" android:layout_marginTop="4dp" + android:scrollbars="vertical" tools:visibility="gone" />