Bitmap yourPng = ...;Bitmap dest = new BitmapFactory(yourPng.getWidth(), yourPng.getHeight(), Config.ARGB_8888); Canvas canvas = new Canvas(dest); // with this, dest will be the drawing result.// draw yourPng and the side onto canvas(dest). canvas.draw(yourPng);// draw your thing onto canvas. ...// Here the dest is want you wanted.
Canvas canvas = new Canvas(dest); // with this, dest will be the drawing result.// draw yourPng and the side onto canvas(dest).
canvas.draw(yourPng);// draw your thing onto canvas.
...// Here the dest is want you wanted.