My goal is to create a live camera view for my Android app, where the surface view is always zoomed in by two. This setup includes a graphical user interface overlay. The specific requirement is to display the camera preview at 2x magnification within the surface view without any additional zoom controls. While the current app functions properly, I am struggling to achieve this desired zoom level without unwanted zoom functionality.
I attempted to implement a custom zoom function, but all I need is a constant 2x display without the ability to zoom in or out beyond that.