How can I change time format of TimePickerDialog dynamically?
<p>I have a button, on click on the which the time format of a TimePickerDialog should change from 12 hours to 24 hours and vice versa.</p>

<p>I know I have to use onPrepareDialog(), but how can I change the time format inside onPrepareDialog ?
Any help is appreciated!</p>

<p>Thank you.</p>
