8 Commits

Author SHA1 Message Date
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
de6c9a071d Support materialThemeOverlay for SwitchMaterial.
PiperOrigin-RevId: 221317700
2018-11-16 11:35:00 -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
Material Design Team
a5d38d43d6 Changes SwitchMaterial coloring to composites instead of blends.
Also provides color layering utilities and removes text color changes.

PiperOrigin-RevId: 211692944
2018-09-07 11:55:28 -04:00
Material Design Team
56ee534de2 Creates and colors SwitchMaterial
PiperOrigin-RevId: 210574240
2018-08-28 16:44:02 -04:00