summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2021-04-16 12:00:56 -0700
committerLucas Dupin <dupin@google.com>2021-04-19 21:32:12 +0000
commit9548384364738f54282293dd54acd223ee047759 (patch)
treef2f0352dc3f6af42185dea6edfc95eb0f1f97cc6 /tools/aapt2/java/JavaClassGenerator.cpp
parent514f8b70d8652122e343c5929d056af11cac878a (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions