7 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
dniz
81bdf025ca Update MaterialCardView to use foreground instead of background for stroke
- Fixes issue where cardUseCompatPadding attribute was not being respected due to overriding of CardView's background

PiperOrigin-RevId: 188484199
2018-03-12 12:57:24 -04:00
Material Design Team
6f71c37978 Remove the cornerRadius attribute loading from the MaterialCardViewHelper, and read the value from the MaterialCardView#getRadius when creating the background drawable.
This fixes an ArrayIndexOutOfBoundsException that happened when the helper loaded attributes.

PiperOrigin-RevId: 187142581
2018-03-12 12:51:55 -04: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
Material Design Team
5643af73b3 Automated g4 rollback of changelist 181541883
PiperOrigin-RevId: 181544129
2018-01-11 11:26:20 -05:00
dcarlsson
4c1f422765 Update how MaterialCardView handles background color.
PiperOrigin-RevId: 181541883
2018-01-11 11:26:00 -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