8 Commits

Author SHA1 Message Date
pfthomas
d241d48bb0 [TimePicker][a11y] Error handling update
- properly show the chip background color when selected
- add error state with message when the hour/minute is incorrect, giving the user a visual feedback instead of just preventing inputting an incorrect value
- add vibration and beep on error or max length reached

PiperOrigin-RevId: 800583067
2025-08-29 11:45:22 -07:00
Material Design Team
b13d967f0b Automated g4 rollback of changelist 799921970
PiperOrigin-RevId: 799988158
2025-08-27 13:41:49 -07:00
pfthomas
d2cce659d1 [TimePicker][a11y] Error handling update
- properly show the chip background color when selected
- add error state with message when the hour/minute is incorrect, giving the user a visual feedback instead of just preventing inputting an incorrect value
- add vibration and beep on error or max length reached

PiperOrigin-RevId: 799921970
2025-08-27 13:41:00 -07:00
pfthomas
4f21b95526 [TimePicker] Only clear hour/minute fields when a digit is entered
Fixes issue with keyboard navigation that unnecessarily clears the text.

PiperOrigin-RevId: 620286833
2024-04-02 14:56:19 +00:00
pfthomas
56ea071320 [MaterialTimePicker] Pre-fill hour and minute edit texts in text input mode
Resolves https://github.com/material-components/material-components-android/issues/2862

PiperOrigin-RevId: 479033062
2022-10-05 14:30:55 +00:00
pfthomas
9806ad99f7 [Internal][MaterialTimePicker] Revert pre-fill hour and minute edit texts in text input mode
PiperOrigin-RevId: 478603180
2022-10-04 20:43:49 +00:00
pfthomas
087da2f2bc [MaterialTimePicker] Pre-fill hour and minute edit texts in text input mode
Resolves https://github.com/material-components/material-components-android/issues/2862

PiperOrigin-RevId: 478507649
2022-10-03 19:16:44 +00:00
marianomartin
cd6b062519 [TimePicker] Added a TimePicker component
This should be considered a pre-alpha of timepicker.
Try the component today, on the latest snapshot:

https://github.com/material-components/material-components-android/blob/master/docs/using-snapshot-version.md

The initial API offers feature parity with android.app.TimePickerDialog

Resolves https://github.com/material-components/material-components-android/issues/690

PiperOrigin-RevId: 318879238
2020-06-29 16:24:46 -04:00