commit | 9548384364738f54282293dd54acd223ee047759 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Fri Apr 16 12:00:56 2021 -0700 |
committer | Lucas Dupin <dupin@google.com> | Mon Apr 19 21:32:12 2021 +0000 |
tree | f2f0352dc3f6af42185dea6edfc95eb0f1f97cc6 | |
parent | 514f8b70d8652122e343c5929d056af11cac878a [diff] |
Make sparkle color and alpha customizable This CL introduces a new attr: effectColor. The attribute can be used on ripple tags to customize the color and alpha of the ripple decoration. It's also possible to change the effect color via code by invoking RippleDrawable#setEffectColor. Fixes: 185602477 Test: atest RippleDrawableTest Change-Id: I9b50f330729a67ef4b529283a92c83c28387fa0b