Closed tand22 closed 6 years ago
Hey! We don't support versions prior to v2. But still if the photos are square then the device only supports square resolutions. Secondly if you use CENTER_CROP
this will create only a visual crop (or not if you use CENTER_INSIDE).
What do you mean the device only supports square resolutions. Surely this is a bug with the framework since the phone is capable of taking 16:9 photos in other apps.
EDIT: Don't worry, I updated to the latest version and it seems this problem is solved 👍
We changed nothing related to it in last version but glad it works for you
Actually I think the issue was with the attributes I had on the preview. I was trying to make it full screen, however it was not covering the whole screen (resulting in a square view). Do you know what dimensions the photo output is by default?
Do you know why this is happening?
<ImageView android:id="@+id/result" android:layout_width="match_parent" android:layout_height="match_parent" android:adjustViewBounds="true" tools:ignore="ContentDescription,RtlHardcoded" />
Whenever I take a photo in portrait mode, the photo always comes out square. I want it to keep the same aspect ratio as the preview.
My image view:
How did you initialize FA?
using version 1.4.1