17 Commits

Author SHA1 Message Date
Material Design Team
cfc00aa5a3 Update android core class definitions across material
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
marianomartin
115313c0c0 Expose a class for themeoverlay in style
This moves functionality from ThemeEnforcement into a stand alone class.

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

PiperOrigin-RevId: 275481343
2019-10-21 10:24:19 -04:00
marianomartin
0d4515cb46 Internal cleanup
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
isabellekim
516edcb736 Support buttonTint CSLs for MaterialCheckbox that reference theme attributes.
PiperOrigin-RevId: 262592908
2019-08-16 15:53:19 -04:00
marianomartin
164bf0fabd Internal cleanup
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
dniz
106085a62f Update selection controls (MaterialCheckBox, MaterialRadioButton, SwitchMaterial) to apply material colors in onAttachedToWindow() instead of constructor
PiperOrigin-RevId: 254818917
2019-06-24 17:32:13 -04:00
marianomartin
90837ec485 Internal cleanup
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
isabellekim
3e6219ceb2 Rolling forward using colorControlActivated instead of colorSecondary for the activated color of MaterialCheckbox, MaterialRadioButton, and SwitchMaterial.
By default, colorControlActivated is set to colorAccent. Non-bridge themes set colorAccent to colorSecondary.

PiperOrigin-RevId: 235041384
2019-02-24 14:31:35 -05:00
isabellekim
8ffff9c658 Automated g4 rollback of changelist 234987118
PiperOrigin-RevId: 235019920
2019-02-24 14:29:13 -05:00
isabellekim
7b79678f9b Use colorControlActivated instead of colorSecondary for the activated color of MaterialCheckbox, MaterialRadioButton, and SwitchMaterial.
By default, colorControlActivated is set to colorAccent. Non-bridge themes set colorAccent to colorSecondary.

PiperOrigin-RevId: 234987118
2019-02-24 14:27:59 -05:00
cketcham
dc72aaeed4 Migrate Gradle build and sources to androidx
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
ldjesper
1b5469c742 Allows programmatic changes to useMaterialThemeColors for selection controls
PiperOrigin-RevId: 222847032
2018-12-06 11:22:54 -05:00
isabellekim
ef2c32cf15 Support materialThemeOverlay for checkboxes.
PiperOrigin-RevId: 221313392
2018-11-16 11:30:34 -05:00
ldjesper
9cbfddc61b Add attributes to disable Material Theme Colors for Selection Controls
These attributes are necessary for custom drawables.

PiperOrigin-RevId: 214969700
2018-09-28 17:03:18 -04:00
ldjesper
3219f7dc3e Standardize Selection Controls across API versions and maintain XML configs
PiperOrigin-RevId: 212510051
2018-09-14 10:57:21 -04:00
ldjesper
c6266f23ef Modify CheckBox to color without alpha.
PiperOrigin-RevId: 212484594
2018-09-14 10:56:49 -04:00