How to set Maxmum and minimum time in Time picker?
问题 i have time interval 12:00 PM to 12:00 AM.I want set this time interval in time picker dialog.Disable the time before 12:00 PM and after 12:00 AM in time picker.I don't know how to set time in time picker dialog.Can any one know help me to solve this issue. Time Picker private void showTimePicker(){ Time_picker time = new Time_picker(); Bundle args = new Bundle(); args.putInt("hours", c.get(Calendar.HOUR_OF_DAY)+2); args.putInt("minute", c.get(Calendar.MINUTE)+30); time.setArguments(args);