Reputation: 1
I am creating an android camera application. I want to add pinch to zoom feature on the Surface View of the application. I have found many codes but they all were for scaling the imageview. If there is no code for it then can i implement the zoom for imageview code to the surfaceview?
Upvotes: 0
Views: 1535
Reputation: 57203
No, this will not work. Preview surface view cannot be zoomed beyond the screen size. But using SurfaceTexture does not have such limitations. Zoom in OpenGl is very efficient and easy.
Upvotes: 0