My application is using Camera and some components over the camera like buttons and a transparent layout for the user to draw.
At this moment im able to see the camera and draw on a top layer (transparent).
I can save the picture from camera by:
camera.takepicture()
Result: Picture from camera without components (what i drew over it)
And i can take a picture from MyView (what i drew on transparent layout)
this.getWindow().getDecorView();
//create a bitmap and save it to file..
Result: Picture from the root view with black background instead of transparent, and no camera..
How can i combine Camera and rootView in a picture?
Thanks in advance.