I have implenented the Fotoapparat library to my app. To operate the whole app with obe hand, I am trying to make the CameraView in a portrait mode parents ConstraintLayout. As you can see in the following screenshot, the CameraView itself is landscape, but the parent ConstraintLayout of the whole Fragment is portrait mode, so that user can operate app with one hand.
Now I show the captured image as a preview in the next fragment.. As you can see, the captured image is portrait mode now:
As you can see, the left and right borders are correct (same in both pictures). I enhances the top and bottom border of the image, so it looks like a portrait fotograph.
I have implenented the Fotoapparat library to my app. To operate the whole app with obe hand, I am trying to make the CameraView in a portrait mode parents ConstraintLayout. As you can see in the following screenshot, the CameraView itself is landscape, but the parent ConstraintLayout of the whole Fragment is portrait mode, so that user can operate app with one hand.
Now I show the captured image as a preview in the next fragment.. As you can see, the captured image is portrait mode now:![screenshot_20181029-142102](https://user-images.githubusercontent.com/44406344/47661109-ad12c300-db98-11e8-900b-d4b03b3956fa.png)
As you can see, the left and right borders are correct (same in both pictures). I enhances the top and bottom border of the image, so it looks like a portrait fotograph.
Excerpts of my layouts:
Versions: Fotoapparat 2.4.0 Java SDK 8 Android Studio 3.2
What am I dong wrong?