12

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:

http://s1.directupload.net/images/140123/iwbb4d3y.png

Wex
  • 4,434
  • 3
  • 33
  • 47
alm
  • 121
  • 1
  • 4
  • 1
    The alarm clock app is open source here https://github.com/android/platform_packages_apps_alarmclock – Abs Jan 23 '14 at 18:17
  • Thx but its not what I am looking for. See above. – alm Jan 23 '14 at 19:53
  • try this for source code looks circular from the refrences.. https://android.googlesource.com/platform/frameworks/opt/datetimepicker/+/master/src/com/android/datetimepicker particluarly this package https://android.googlesource.com/platform/frameworks/opt/datetimepicker/+/master/src/com/android/datetimepicker/time/ – Abs Jan 23 '14 at 20:06
  • This isnt the same but if need be http://androiddev.orkitra.com/?p=79555 – Abs Jan 23 '14 at 20:06

3 Answers3

3

You are looking for android.widget.TimePicker with the attribute

android:timePickerMode="clock"

EDIT: It comes with the API 23

Mino
  • 264
  • 3
  • 18
0

It is called a timepickerdialog, it should be available if you are using android studio or eclipse.

0xOsiris
  • 247
  • 2
  • 17