mum mum - 1 year ago 120
Android Question

How to set TimePicker show with format 24h

I've created a TimePicker in layout and I want it to show time with format 24h.

Can you help me? Thanks.

Answer Source

TimePicker is a view for selecting the time of day, in either 24 hour or AM/PM mode. You can use setIs24HourView(true) method with TimePicker.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download