Merge "Enable dithering on RippleDrawable" into sc-dev
This commit is contained in:
commit
5941f0fb95
@ -1193,6 +1193,9 @@ public class RippleDrawable extends LayerDrawable {
|
||||
mRipplePaint = new Paint();
|
||||
mRipplePaint.setAntiAlias(true);
|
||||
mRipplePaint.setStyle(Paint.Style.FILL);
|
||||
if (mState.mRippleStyle == STYLE_PATTERNED) {
|
||||
mRipplePaint.setDither(true);
|
||||
}
|
||||
}
|
||||
|
||||
final float x = mHotspotBounds.exactCenterX();
|
||||
|
Loading…
x
Reference in New Issue
Block a user