I need to get alarm start/end time from the user and would like to use the time picker dialog
. However I checked the tutorial and I don't understand what I have to do to adapt it to my needs - like for instance in the alarm on Android with different TextViews and buttons
.
I have not found a tutorial that shows how to adapt the time picker - could you please provide a link or an example on how to adapt the time picker.
CLARIFICATION:
All I need is the dialog that allows the user to provide hour and minute in the way the time picker does - everything else I would like to adapt. Eg add another TextView which changes value, depending on the hour + minute the user just selected (without pressing OK). I do not want the AM/PM field.
Or is it simply the best to just put two individualized number pickers or number sliders (if this exis开发者_如何学Pythonts) next to each other ? Then I need to handle all details like range etc myself! Possibly there is a sample for this somewhere?
Many thanks
精彩评论