version:7.1

fix:
update:更新圆角,修复修改字体大小报错
This commit is contained in:
2022-12-28 16:48:55 +08:00
parent 7c9581a913
commit f05d2aa40e
39 changed files with 294 additions and 320 deletions

View File

@@ -61,9 +61,9 @@ public class BitmapUtils {
Canvas canvas = new Canvas(bitmap);
drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
drawable.draw(canvas);
return bitmap;
return Utils.getRoundedBitmap(bitmap, context);
} else {
return ((BitmapDrawable) drawable).getBitmap();
return Utils.getRoundedBitmap(((BitmapDrawable) drawable).getBitmap(), context);
}
} catch (Exception e) {
return null;