0
How do i load a bitmap into a canvas?
I have saved a bitmap onStop, onResume i have a method to load this bitmap, but how?
1 ответ
+ 13
Bitmap bitmap = Bitmap.createBitmap(widthPixels, heightPixels, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas();
canvas.setBitmap(bitmap);
Is this what you want ?