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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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: