In my App,I am saving total relative layout as bitmap.After saving,if i see the image,the background of the image is in black color.How do i get my original background?Please help me.
I am working on a project in which I have created a custom view with transparent background. Now I want to create an image of this view. I am using the below code to save and create an image from bitmap, but the generated image has black background and not transparent. I want transparent background. How can I achieve this?
As I touch on my image I replace the color of image, where i just touched, with transparent color. All going good the color is replacing well. The problem is that if I save the image as it is, it saves fine. But if I use createScaledBitmap() with image the background of image gets Black. Help!