admin管理员组

文章数量:1312645

I'm trying to draw a mipmap in a canvas using canvas.drawBitmap(BitmapFactory.decodeResource(getResources(), R.mipmap.keyb_style_02), 0, 1445, null);

On a XHDPI screen it works
On a XXHDPI screen, the mipmap is displayed but not scaled correctly

I tried BitmapFactory options but it doesn't works

The white line is to indicate where the right side of the image should be drawn

[Screenshot] : .png

Thank you

Gigi

本文标签: AndroidScaled image issue with BitmapFactoryStack Overflow