From 9c5098842971369c15013baac0b3de1c21d3b87c Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 29 Sep 2019 19:24:56 +0200 Subject: [PATCH] Limit date/time picker height --- app/src/main/res/layout/dialog_duration.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/dialog_duration.xml b/app/src/main/res/layout/dialog_duration.xml index e59e43f450..76c34d429f 100644 --- a/app/src/main/res/layout/dialog_duration.xml +++ b/app/src/main/res/layout/dialog_duration.xml @@ -53,6 +53,7 @@ android:layout_height="wrap_content" android:timePickerMode="spinner" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHeight_max="180dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/btn1hour" /> @@ -63,6 +64,7 @@ android:calendarViewShown="false" android:datePickerMode="spinner" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHeight_max="180dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/timePicker" />