10 Commits

Author SHA1 Message Date
pubiqq
182a50714c [TimePicker] Prevent the accumulation of listeners in rotationAnimator
Resolves https://github.com/material-components/material-components-android/pull/3973

GIT_ORIGIN_REV_ID=1b09e58865abfdf91610da16919e7f4f28739c09
PiperOrigin-RevId: 634850525
2024-05-17 21:08:13 +00:00
pubiqq
510881a469 [Internal] Stop using deprecated androidx.core.view.* methods
Resolves https://github.com/material-components/material-components-android/pull/4117

GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
rightnao
a4f6a1e02a [TimePicker] Update motion specs
PiperOrigin-RevId: 472531602
2022-09-08 13:38:52 -04: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
Material Design Team
a487c89185 Internal change
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00: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
0aed26b8b7 [TimePicker] Changed positive listener to be an OnClickListener
PiperOrigin-RevId: 328539995
2020-08-26 17:39:31 -04:00
marianomartin
84cec15fbd [TimePicker] Fixed Talback support
PiperOrigin-RevId: 322589365
2020-07-22 14:24:23 -04:00
marianomartin
272ce50950 [TimePicker] Renamed radius attr to avoid conflicts
PiperOrigin-RevId: 319985243
2020-07-08 14:59:44 -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