5 Commits

Author SHA1 Message Date
dniz
ade4df00cb Change Gradle build to output single Maven artifact
PiperOrigin-RevId: 190774454
2018-04-03 11:49:01 -04:00
markwei
2e2c348e6f Add new enforceMaterialTheme attribute that you can set in any style to denote that the style uses a new attribute that must exist in the app theme.
Update ThemeEnforcement to read this new attribute, and check for Material theme.
Change the ThemeEnforcement API to replace Context#obtainStyledAttributes().

See followup CL for how this attribute is used.

PiperOrigin-RevId: 184074635
2018-03-02 15:36:20 -05:00
dcarlsson
d2736442f2 Update how MaterialCardView sets the card background.
Provide a materialCardView theme attribute to fix conflicts with the existing cardView
theme attribute.

PiperOrigin-RevId: 183031703
2018-01-25 18:22:32 -05:00
dcarlsson
036cd85fa5 Add custom attributes to MaterialCardView for stroked outline card styles.
PiperOrigin-RevId: 181046826
2018-01-11 11:12:09 -05:00
dcarlsson
b864c352a1 Add class for MaterialCard.
Add foundation for styles and theme support.

PiperOrigin-RevId: 181045762
2018-01-11 11:11:35 -05:00