How can I add a portrait layout on top of a landscape Camera SurfaceView?
- by user319919
I need a Camera SurfaceView for my application. The camera should be set to fixed landscape view which is done by setting
android:screenOrientation="landscape"
for the activity in the AndroidManifest.xml.
After doing some experiments and Google researches trying to use setRotation(int) inside the camera preview implementation, I came to the…