I've got a problem with the TimePicker
widget on API 21. Until API 19 the TimePicker
was an up-/down-list like iOS, but in 21+ it's round, like the one in the calendar app.
How can I use the old one in 21+, because it breaks my design, if it is the new widget.
android.widget.TimePicker. A widget for selecting the time of day, in either 24-hour or AM/PM mode. For a dialog using this view, see TimePickerDialog .
You can specify the spinner-style time picker by setting the timePickerMode attribute to "spinner". The default value on Material is "clock".
<TimePicker
...
android:timePickerMode="spinner" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With