Open nitin123sangani opened 3 years ago
You could set the styling attribute TimePicker.timePickerMode to "spinner" that forces the dialog to use the spinners instead of the clock face. Here's an example (haven't tested it):
TimePicker.timePickerMode
<resources> <style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar"> <item name="timePickerStyle">@style/MyTimePicker</item> </style> <style name="MyTimePicker" parent="@style/Widget.Material.TimePicker"> <item name="timePickerMode">spinner</item> </style> </resources>
You could set the styling attribute
TimePicker.timePickerMode
to "spinner" that forces the dialog to use the spinners instead of the clock face. Here's an example (haven't tested it):