8 Commits

Author SHA1 Message Date
pubiqq
3ca41be8f0 [General] Fix typos
Resolves https://github.com/material-components/material-components-android/pull/2654

GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -04:00
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
215a839598 Internal cleanup
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
cketcham
06342a1ad7 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264825115
2019-08-26 11:32:16 -04:00
isabellekim
5bf8f92e78 Update RippleDrawableCompat to use MaterialShapeDrawable as a delegate and implement ConstantState.
This will make RippleDrawable work with a single-value ColorStateList as previously it getConstantState().newDrawable() would recreate a MaterialShapeDrawable, losing the logic in RippleDrawableCompat.

PiperOrigin-RevId: 254207262
2019-06-24 17:02:22 -04:00
isabellekim
cadd0238cf Refactor RippleDrawableCompat to add a method to RippleUtils to determine whether a compat (pre-21) "ripple" should be drawn. This will be used by components that handle their own drawing of compat ripples (like Chip).
PiperOrigin-RevId: 253992004
2019-06-24 16:51:22 -04:00
isabellekim
633b5a32c2 Create compat ripples that are based on MaterialShapeDrawable and only draw when enabled and in the pressed, focused, or hovered states.
PiperOrigin-RevId: 253783048
2019-06-18 13:52:05 -04:00