I know this question was already answered but It was not helped me. My question is not to overlap the Images I want to join two seperate Images which are in the same size like which is shown below.
![I want like below image][1]
Here is the code: Used to combine Images
private Bitmap createSingleImageFromMultipleImages(Bitmap firstImage, Bitmap secondImage) {
Bitmap result = Bitmap.createBitmap(firstImage.getWidth(), firstImage.getHeight(), firstImage.getConfig());
Canvas canvas = new Canvas(result);
canvas.drawBitmap(firstImage, 0f, 0f, null);
canvas.drawBitmap(secondImage, 200, 200, null);
return result;
}
Bitmap mergedImages = createSingleImageFromMultipleImages(firstImage, SecondImage);
im.setImageBitmap(mergedImages);
I am getting ovelapping image. Can anyone help.
Thanks.