This sample and accompanying blog post show how to code your app to handle difference camera scenarios including:
- Ensuring a good user experience when your app is orientation-locked (to portrait or landscape)
- Rotating the camera feed as the device rotates
- Adjusting the camera feed aspect ratio to fit each device posture
If you prefer to use the newer CameraX library, visit the Android camera-samples repo.
