BottomSheetPickers
BottomSheetPickers copied to clipboard
when NumberPadTimePickerDialog is 12 hour, how input 0:30
That is 12:30 AM.
i want set NumberPadTimePickerDialog is 24 hour, but is invalid
code
The number pad automatically uses 12 or 24 hour mode depending on your system's preference for 24-hour time. You can find this setting in Settings > Date & time > Use 24-hour format.
but i want number pad uses 24 hour mode depending on my code settings, not depending on your system's preference for 24-hour time, how can i do?
i set mIs24HourMode to true, but all is invalid, how can i do?
This feature is not currently supported, which is why the newInstance()
you're trying to modify was originally private access. If you want to do this yourself, you should look into modifying NumberPadTimePicker.java
.
thanks, i success modify NumberPadTimePickerDialog is 24 hour mode in NumberPadTimePicker.java.
want TimePicker can add more styles (^_^)