I am looking for the circle shaped view, which allows you to pick the hour and after that the minutes for the alarm. Both, the possible numbers are distributed in a circle.
I couldnt find that view in the native API, is there a chance to use this view type ? Or do I have to create one on my own ?
Thanks in advance.
EDIT: I am looking for this:
Android TimePicker is a user interface control for selecting the time in either 24-hour format or AM/PM mode. It is used to ensure that users pick the valid time for the day in our application. The time picker interface exists basically in two modes one is under XML layout and another is a dialog.
Here are a few libraries:
Or you can look at the sourcecode Google wrote: https://android.googlesource.com/platform/frameworks/opt/datetimepicker/+/master/src/com/android/datetimepicker/time/TimePickerDialog.java
You are looking for android.widget.TimePicker
with the attribute
android:timePickerMode="clock"
EDIT: It comes with the API 23
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