8 Commits

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