update:2021-10-11 21:25:51
fix bug:
This commit is contained in:
2021-10-11 21:26:01 +08:00
parent ad67fef3fd
commit 98b2fa6e89
7 changed files with 5 additions and 70 deletions

View File

@@ -148,6 +148,7 @@ public class NiceImageView extends AppCompatImageView {
paint.setAntiAlias(true);
paint.setStyle(Paint.Style.FILL);
paint.setXfermode(xfermode);
//9.0及以上系统图片一次圆一次方的解决办法
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.O_MR1) {
canvas.drawPath(path, paint);
} else {