Android Question Rotate camera preview (Nexus 5x)

MotoMusher

Active Member
Licensed User
Longtime User
Is there a way to rotate the camera preview on the panel? I am using AdvancedCamera in my apps as I couldn't get CameraEx to be stable.

Unfortunatly, Google installed the camera upside down in the Nexus 5x. Their solution is to upgrade to Camera2 api which supposedly flips all the camera commands 180 degrees for the 5x. Now I have 2 5x users.

I have added a setting that rotates the final bitmap 180 degrees for 5x users, but the preview is upside down and I don't see a way to handle that. Can panels be rotated to fake this?

Thanks.
 
Top