I know how to set the TimePicker widget to 24 hour, how do you do the same for the TimePickerDialog???
Otherwise will I have to make a new dialog box altogether??
Basically there is a constructor parameter
public TimePickerDialog (Context context, TimePickerDialog.OnTimeSetListener callBack, int hourOfDay, int minute, boolean is24HourView
)
and this link might also help you
TimePickerDialog and AM or PM
Cheers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With