android - Stack ImageView on top of surface where camera preview is running? -
I am trying to display an image at the top of a surface where the camera preview is running. So far, I have a camera running using a SurfaceHolder, I thought I could use the frame layout to pile an image at the top of the camera preview, but I do not know how to go about it
I prefer codeat program, but any help is appreciated!
Thanks
Rather than using the frame layout, you can use a relative layout , Which uses z-ordering. Just insert your image inside the relative layout after your surf holder and it will appear above it.
Comments
Post a Comment