8 Commits

Author SHA1 Message Date
pfthomas
56ea071320 [MaterialTimePicker] Pre-fill hour and minute edit texts in text input mode
Resolves https://github.com/material-components/material-components-android/issues/2862

PiperOrigin-RevId: 479033062
2022-10-05 14:30:55 +00:00
pfthomas
9806ad99f7 [Internal][MaterialTimePicker] Revert pre-fill hour and minute edit texts in text input mode
PiperOrigin-RevId: 478603180
2022-10-04 20:43:49 +00:00
pfthomas
087da2f2bc [MaterialTimePicker] Pre-fill hour and minute edit texts in text input mode
Resolves https://github.com/material-components/material-components-android/issues/2862

PiperOrigin-RevId: 478507649
2022-10-03 19:16:44 +00:00
conradchen
fd40fea461 [Switch] Override switch width set by AppCompat to respect the drawable width
PiperOrigin-RevId: 449238028
2022-05-17 14:55:17 -04:00
conradchen
413a047957 [ChipGroup] Fix ChipGroup.getCheckedChipIds() returns wrong state
In the Chip implementation, onCheckedChangeListener was called before onCheckedChangeListenerInternal. This causes an issue that in onCheckedChangeListener's callback, the checkable group's checked state is not updated yet, therefore ChipGroup.getCheckedChipIds() will return the outdated checked state.

Fixes this by overriding Chip.setOnCheckedChangeListener to get full control of the execution order between onCheckedChangeListener and onCheckedChangeListenerInternal.

Resolves https://github.com/material-components/material-components-android/issues/2691

PiperOrigin-RevId: 449100861
2022-05-17 11:04:03 -04:00
dsn5ft
9cd794c72f [Gradle] Remove unit test resources from main library source set and refactor the way test resources are configured/accessed
Resolves https://github.com/material-components/material-components-android/issues/1709

PiperOrigin-RevId: 449026115
2022-05-16 16:08:05 -04:00
conradchen
818f253ade [MaterialTimePicker] Make time text input fields stying more flexible
PiperOrigin-RevId: 373199267
2021-05-14 15:20:30 -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