Material Design Team
089372f249
[TimePicker][A11y] Add keyboard support to clock input mode
...
Enables focus on the `ClockFaceView` and implements `onKeyDown` to allow users to navigate between clock values using DPAD keys. DPAD_RIGHT/UP increments the selected value, while DPAD_LEFT/DOWN decrements it.
PiperOrigin-RevId: 796951982
2025-08-20 14:54:18 +00:00
pfthomas
d2831cbfe1
[TimePicker] Make ClockFaceView not focusable
...
Prevent keyboard navigation from unnecessarily focusing the clock face.
PiperOrigin-RevId: 620981338
2024-04-02 15:02:20 +00:00
pfthomas
cbc0711ca3
[MaterialTimePicker][24H Redesign] 2-ring support for 24H clock
...
Resolves https://github.com/material-components/material-components-android/issues/1450
This replaces the current implementation of the 24H clock mode from 1 ring to 2 rings.
The 24H picker now also defaults to text input mode.
PiperOrigin-RevId: 463652374
2022-07-28 17:42:05 -04:00
pfthomas
9cdf4c9559
[MaterialTimePicker][a11y] Fix wrong clock item selection
...
PiperOrigin-RevId: 431938695
2022-03-02 14:19:28 -08:00
pfthomas
f9914da4e9
[TimePicker][a11y] Fix Switch Access can't reach clock items
...
PiperOrigin-RevId: 425684600
2022-02-01 13:56:37 -08:00
pfthomas
fcc68a2de7
[TimePicker][a11y] Make Talkback announce selected state for clock items
...
PiperOrigin-RevId: 413955068
2021-12-06 19:44:45 +00:00
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
pfthomas
38406e15a5
[TimePicker][a11y] Make Talkback announce action on clock items
...
PiperOrigin-RevId: 408660379
2021-11-10 16:09:26 -05:00
marianomartin
bf0d11b4e7
[TimePicker] Changed clock face size to be dynamic
...
PiperOrigin-RevId: 352024053
2021-01-15 17:02:42 -05:00
marianomartin
74350dead6
[TimePicker] Fixed numbers glitching on first show of time picker
...
PiperOrigin-RevId: 350417836
2021-01-07 12:05:30 -05:00
marianomartin
9f791574ec
[TimePicker] Use MaterialColors to correctly read CSLs with theme attributes
...
PiperOrigin-RevId: 345068246
2020-12-02 10:00:18 -05:00
isabellekim
22467b4994
[TimePicker] Add default style attribute (materialClockStyle) to the time picker theme overlay for the clock face and clock hand, making all colors on the clock customizable.
...
materialClockStyle respects the following attributes:
+ clockFaceBackgroundColor: color of the clock face
+ clockHandColor: color of the clock hand
+ clockNumberTextColor: color of the numbers on the clock (CSL, selected state is used on top of the clockHandColor)
PiperOrigin-RevId: 339469022
2020-10-29 15:16:28 -04:00
marianomartin
a543032c99
[TimePicker] Support formatting the numbers depending on the configuration locale
...
PiperOrigin-RevId: 327666353
2020-08-20 16:47:25 -04:00
marianomartin
dd254c536a
[TimePicker] Fixed incorrect offset applied to shaders
...
Resolves https://github.com/material-components/material-components-android/issues/1537
PiperOrigin-RevId: 323783957
2020-07-29 10:42:12 -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