I\'ve created a TimePicker in layout and I want it to show time with format 24h.
Can you help me? Thanks.
As some people have already mentioned just set the parameter to true or false.
timePicker.setIs24HourView(true);
You can find a complete example with source code to download from here http://www.ahotbrew.com/android-timepicker-example/