11 Commits

Author SHA1 Message Date
Material Design Team
0046fdedb7 Automated g4 rollback of changelist 859551741
PiperOrigin-RevId: 862933180
2026-02-03 20:26:47 +00:00
Material Design Team
f1193e39c1 [FAB] Override setContentDescription to also set the tooltip text on API 26+
PiperOrigin-RevId: 859551741
2026-01-22 19:48:41 +00:00
Material Design Team
60b0325b39 [Internal] Updated robolectric tests to run on minSdk 23
PiperOrigin-RevId: 774815542
2025-06-23 18:14:50 +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
cketcham
282250136c Fix test failures caused by the @Config annotation overriding the application theme
It looks like there's no guarantee that the context defined on the Application will be used by the Activity, so it's better to set the theme on the Activity itself.

PiperOrigin-RevId: 285241791
2019-12-12 16:09:02 -05:00
marianomartin
58d2085032 Refactor extended Fab and add test for behavior
PiperOrigin-RevId: 260841260
2019-08-02 15:34:16 -04:00
marianomartin
164bf0fabd Internal cleanup
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
marianomartin
ad8003d8e9 Internal cleanup
PiperOrigin-RevId: 255441067
2019-07-03 13:56:54 -04:00
marianomartin
05bc55723a Add a way to disable min touch target size in fab
PiperOrigin-RevId: 239395098
2019-03-22 17:00:43 -04:00