Android TimePickerDialog set max time
问题 I\'m looking for a way to set the maximun and minimun time pickable on an Android TimePickerDialog , and to change the default minute interval from 1 min to 5 min, I thought that was an easy one, but I can\'t find a way ! 回答1: THIS ANSWER IS OUTDATED It will not work on Android 5 or higher. This is an extension to fiddlers answer. Somehow the onTimeChangedListener is not set by TimePickerDialog in some Android Versions: ex. http://grepcode.com/file/repository.grepcode.com/java/ext/com.google