I want to show 24 hours clock instead 12 hours using TimePicker,and I dont need the AM/PM buton, Simply want to show 24 hours clock.
Is this possible?
I used setIs24HourView(true)
but it is is not working.
Suggest me How can I show 24 hours clock?
Have you tried setting setIs24HourView?
If you just need use the NumberPicker widget in other abnormal ways:
There is a NumberPicker widget in Android, but it is a private API. This guy pulled out the code such that you can drop it into any project.
Here is an example of how I used it for tax rates:
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