Merge "Cut ripple background alpha in half" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
33ae07ab81
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user