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

No files matched your search

@@ -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 {