Merge "Cut ripple background alpha in half" into lmp-dev

This commit is contained in:
Alan Viverette
2014-09-25 20:14:33 +00:00
committed by Android (Google) Code Review

View File

@@ -106,7 +106,7 @@ class RippleBackground {
public void setup(int maxRadius, int color, float density) {
mColorOpaque = color | 0xFF000000;
mColorAlpha = Color.alpha(color);
mColorAlpha = Color.alpha(color) / 2;
if (maxRadius != RippleDrawable.RADIUS_AUTO) {
mHasMaxRadius = true;