10 Commits

Author SHA1 Message Date
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