Answer the question
In order to leave comments, you need to log in
How in TimePicker to implement the gradation of selecting minutes by 5 minutes?
How in TimePicker to implement the gradation of selecting minutes by 5 minutes?
Answer the question
In order to leave comments, you need to log in
here is a piece of calling code:
TimePickerDialog timePickerDialog = new TimePickerDialog(getActivity(),
new TimePickerDialog.OnTimeSetListener() {
@Override
public void onTimeSet(TimePicker timePicker, int hour, int min) {
updateCalendar();
}
},
getHour(),
getMinute(),
true);
timePickerDialog.show();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question