I'd like to use cam开发者_运维知识库era's preview image as background image for a SurfaceView's canvas. How it can be done? Thanks, Eyal.
This is what worked for me : I created a relative layout in the XML, Then i created a customCameraView and added it to to the layout, Then i created the GLSurfaceView, made the background translucent and set its setZOrderOnTop to true, then added it to the layout.
精彩评论