Open misterbobdobalina opened 10 years ago
Get error with app:outerShadowWidth="0.5"
mOuterShadowRect.width() / 2.0f in: paint.setShader(new RadialGradient(... , ... , here! , ...
public Paint getDefaultOuterShadowPaint() { final Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); paint.setStyle(Paint.Style.FILL); paint.setShader(new RadialGradient(CENTER, CENTER, mOuterShadowRect.width() / 2.0f, OUTER_SHADOW_COLORS, OUTER_SHADOW_POS, TileMode.MIRROR)); return paint; }
Try to add eaven numbers instead of 5. For example 6.
Get error with app:outerShadowWidth="0.5"
mOuterShadowRect.width() / 2.0f in: paint.setShader(new RadialGradient(... , ... , here! , ...