version:7.1
fix: update:更新圆角,修复修改字体大小报错
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user