google / cameraview

[DEPRECATED] Easily integrate Camera features into your Android app
Apache License 2.0
4.74k stars 1.03k forks source link

when capture image it get shifted to the left #238

Closed MoustafaElsaghier closed 5 years ago

MoustafaElsaghier commented 6 years ago

when I try to use front camera and capture image then I get extra image section that I don't need it to be displayed.

my camera view is 200*300 dp and I get more than 200 when the load on the image the array of byte.

any help?

HemanthImandi commented 5 years ago

Facing same issue. Any solution?

HemanthImandi commented 5 years ago

put the height of the cameraview as wrap_content

MoustafaElsaghier commented 5 years ago

nope i just used app:cameraCropOutput="true" in the XML of cameraview