2 Commits

Author SHA1 Message Date
dniz
fadcb7fc31 Add a MaterialAttributes#resolveAttribute method that doesn't throw, a
MaterialColors#getColor method that allows for a default value, and a MaterialResources#getColorStateList that accepts a TintTypedArray

PiperOrigin-RevId: 219170329
2018-11-01 16:07:21 -07: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