I have one Bitmap image. How do I create a bigger bitmap programmatically? I tried creating scaleBitMap, but it is not displaying bigger.
int newHeight=900;
Bitmap bg1=Bitmap.createScaledBitmap(bg, width, newHeight, false);
canvas.drawBitmap(bg1, null, new Rect(0, 0, getWidth(), newHeight), null);
How do I fix this problem?
Maybe you should try this instead:
always worth a try