marianomartin
049ad022a6
Delete components build.gradle files
...
PiperOrigin-RevId: 320944144
2020-07-15 09:38:31 -07: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
dniz
0512f776c5
Remove sub-package AndroidManifest.xml files from lib directory
...
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
dniz
68ddfee0ed
Remove Material's legacy androidx core_ui and core_utils dependencies in favor of more granular dependencies (coordinatorlayout, graphics, interpolator, customview)
...
PiperOrigin-RevId: 257452569
2019-07-10 15:17:12 -04:00
isabellekim
3dcbac3255
Adds a method to RippleUtils that should be called before passing a CSL
...
to RippleDrawable. It will:
1. return the original non-null CSL, unmodified. If null, it will return
a transparent CSL
2. log a warning if the original CSL has a non-transparent pressed color
and a transparent default color for API levels 22-27 (this will cause
ripples to end early).
PiperOrigin-RevId: 254431342
2019-06-24 17:14:09 -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
dniz
1f244318d8
Add @hide to all @RestrictTo annotations that are missing it
...
PiperOrigin-RevId: 243646339
2019-04-19 16:29:30 -04:00
dniz
11df79f95c
Clean up Gradle build shorthands for appcompat/androidx libraries
...
PiperOrigin-RevId: 229369959
2019-01-18 14:13:26 -05:00
cketcham
dc72aaeed4
Migrate Gradle build and sources to androidx
...
PiperOrigin-RevId: 225551505
2018-12-21 11:07:45 -05:00
marianomartin
663fd7abff
add res-public files
...
PiperOrigin-RevId: 198567215
2018-05-30 17:42:48 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00