Search code examples
androidtimepicker

Timepicker alert dialog, restrict visibility into new time format in higher version


I have a TimePicker which looks like spinner in higher versions of devices looks like clock, I want to restrict the view not to change in higher version, which should look like spinner only.. can anyone please help me to solve this?


Solution

  • Solved it myself by taking an alert dialog and custom xml view on that alert with timepicker, calling the alert on click of the button, Solved my problem