Android widget for entering duration

Which Android widget would be appropriate to get user-defined duration time (hours and minutes)? I'm thinking about TimePicker, but it looks like it was created to get the time of day.

Is there another standard feature, or should I write it from scratch?

+3
android time duration


source to share


1 answer


I think you can use TimePicker

for the customizing

time that you give TimePickerDialog

.



The idea is to get user defined input, format it and pass it to TimePickerDialog

0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics