Limit date/time picker height

This commit is contained in:
M66B 2019-09-29 19:24:56 +02:00
parent 2974d17f60
commit 9c50988429
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:timePickerMode="spinner" android:timePickerMode="spinner"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHeight_max="180dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btn1hour" /> app:layout_constraintTop_toBottomOf="@id/btn1hour" />
@ -63,6 +64,7 @@
android:calendarViewShown="false" android:calendarViewShown="false"
android:datePickerMode="spinner" android:datePickerMode="spinner"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHeight_max="180dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/timePicker" /> app:layout_constraintTop_toBottomOf="@id/timePicker" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>