SeslTimePicker
A widget for selecting a time of day, in either 24-hour or AM/PM mode.
For a dialog using SeslTimePicker, see android.app.TimePickerDialog.
The view is a FrameLayout that contains a SeslTimePickerSpinnerDelegate. The delegate is responsible for rendering and handling the user interaction with the time picker.
The time picker supports two modes: spinner and clock. The spinner mode allows the user to select the time by scrolling through the hour and minute pickers. The clock mode allows the user to select the time by tapping on the clock face.
The time picker also supports 24-hour and 12-hour (AM/PM) formats. The format can be set using the setIs24HourView method.
The time picker can be configured to display the time in 5-minute intervals using the set5MinuteInterval method.
The time picker can be enabled or disabled using the setEnabled method.
The time picker provides two listeners for handling time changes: OnTimeChangedListener and OnEditTextModeChangedListener. The OnTimeChangedListener is called when the user changes the time. The OnEditTextModeChangedListener is called when the user switches between spinner and edit text mode.
The time picker can be customized by setting the text size and typeface of the number pickers using the setNumberPickerTextSize and setNumberPickerTextTypeface methods.
The time picker supports saving and restoring its state using the onSaveInstanceState and onRestoreInstanceState methods.
The time picker supports accessibility by providing a delegate for handling accessibility events.