pfthomas
6c4db77711
[MaterialTimePicker] Use ViewCompat.performHapticFeedback
...
Resolves https://github.com/material-components/material-components-android/issues/4948
PiperOrigin-RevId: 822672441
2025-10-31 18:48:11 +00:00
pfthomas
9d8506a020
[TimePicker] Accessibility focus on error
...
Move the accessibility focus back to the error when clicking "OK".
PiperOrigin-RevId: 810864879
2025-09-24 21:32:52 +00:00
pfthomas
5f7634f919
[TimePicker] Fix error beep sound
...
Resolves https://github.com/material-components/material-components-android/issues/4923
PiperOrigin-RevId: 807819996
2025-09-18 16:49:17 +00:00
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
kendricku
960bb4cb82
[a11y][TimePicker] Include "hour" and "minute" in announcements. For example: "Not checked, Hour - 11'0 clock. double tap to select Hour".
...
PiperOrigin-RevId: 742718549
2025-04-07 14:29:38 +00:00
kendricku
20ee1ed794
[A11y][Time Picker] Adjust talkback to include "minute" and "hour" for text input fields.
...
PiperOrigin-RevId: 676884936
2024-09-20 19:50:21 +00:00
pubiqq
23aca03255
[Internal] Remove pre-Lollipop checks
...
Resolves https://github.com/material-components/material-components-android/pull/4266
GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pfthomas
1fcde2c8b2
[MaterialTimePicker] Fix crash when clicking OK/Cancel/Icon on text input mode due to hiding keyboard
...
PiperOrigin-RevId: 534824218
2023-05-24 14:29:55 +00:00
pfthomas
ee19b01e2e
[MaterialTimePicker][a11y] Update hour content description for 24h clock
...
PiperOrigin-RevId: 464069391
2022-08-04 13:52:19 -04:00
pubiqq
1dc0e6b490
[MaterialTimePicker] Fix AM/PM toggle
...
Before the CL we set AM/PM selection in the listeners no matter the target view (AM/PM) is being checked or being unchecked. So the order of calling listeners of AM and PM can "revert" the selection, if the callback for being unchecked is called later.
This logic is apparently wrong - we should select AM/PM when they are being unchecked anyways.
Resolves https://github.com/material-components/material-components-android/pull/2791
Resolves https://github.com/material-components/material-components-android/issues/2788
GIT_ORIGIN_REV_ID=018e053394f44d6334827fc3f95406c2937ae582
PiperOrigin-RevId: 458027987
2022-07-06 04:51:59 -07:00
pubiqq
5d6678cc66
[MaterialDatePicker] Hide the keyboard when switching to calendar mode
...
Resolves https://github.com/material-components/material-components-android/pull/2688
Resolves https://github.com/material-components/material-components-android/issues/2687
GIT_ORIGIN_REV_ID=686526aa049eadb08ded72ca9eb0b60027358756
PiperOrigin-RevId: 447819486
2022-05-11 09:41:38 -04:00
conradchen
72abed042f
[TimePicker] Restore hour/minute selection when switch to text mode
...
This also opens the keyboard automatically when switching the input mode.
Resolves https://github.com/material-components/material-components-android/issues/1511
PiperOrigin-RevId: 443096864
2022-04-20 14:04:46 -04:00
pfthomas
380778f992
[MaterialTimePicker][a11y] Give more context on hour/minute selection
...
PiperOrigin-RevId: 435119125
2022-03-16 19:31:02 +00:00
marianomartin
074ed18255
[TimePicker] Remove hint setting
...
PiperOrigin-RevId: 345071902
2020-12-02 10:07:59 -05:00
marianomartin
5f9aa7f622
[TimePicker] Fixed size on edit text smaller than on chip button
...
PiperOrigin-RevId: 324208729
2020-07-31 11:23:20 -04:00
marianomartin
b92261f847
[TimePicker] Fix lint issue with edit texts
...
PiperOrigin-RevId: 322804881
2020-07-23 12:48:18 -04:00
marianomartin
84cec15fbd
[TimePicker] Fixed Talback support
...
PiperOrigin-RevId: 322589365
2020-07-22 14:24:23 -04: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