17 Commits

Author SHA1 Message Date
marianomartin
0aed26b8b7 [TimePicker] Changed positive listener to be an OnClickListener
PiperOrigin-RevId: 328539995
2020-08-26 17:39:31 -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
dbbd27cefc [TimePicker] Removed newInstance method in favor of Builder Class
Resolves https://github.com/material-components/material-components-android/issues/1512

PiperOrigin-RevId: 324248187
2020-07-31 15:42:47 -04:00
Gabriele Mariotti
2ccc71624e [TimePicker] Added listeners
Resolves https://github.com/material-components/material-components-android/pull/1517

GIT_ORIGIN_REV_ID=be2559a45bff94592537183d46659df5a2a91056
PiperOrigin-RevId: 324215552
2020-07-31 15:05:17 -04: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
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
8ea36ae200 [TimePicker] Removed checkable from timepicker mode button
PiperOrigin-RevId: 323616442
2020-07-29 09:16:41 -04:00
marianomartin
162205b9df [TimePicker] Fixed exception when shrinkResources is enabled
Resolves https://github.com/material-components/material-components-android/issues/1508

PiperOrigin-RevId: 323018869
2020-07-27 13:20:06 -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
702c201508 [TimePicker] Renamed classes to match MaterialDatePicker
PiperOrigin-RevId: 320993387
2020-07-15 09:45:57 -07:00
marianomartin
ffdb90fd3d [TimePicker] Improved theming
PiperOrigin-RevId: 320382415
2020-07-10 11:32:53 -07:00
marianomartin
272ce50950 [TimePicker] Renamed radius attr to avoid conflicts
PiperOrigin-RevId: 319985243
2020-07-08 14:59:44 -04:00
marianomartin
42aa5015a2 [TimePicker] Added a theme attribute
PiperOrigin-RevId: 319977105
2020-07-07 10:59:37 -04:00
marianomartin
a6935dc73d [TimePicker] Added haptic feedback
PiperOrigin-RevId: 319287390
2020-07-06 11:09:40 -04:00
marianomartin
3960a13a85 [TimePicker] Update toggle constraints on visibility changed
PiperOrigin-RevId: 319082558
2020-06-30 16:10:53 -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