CWAC2 capture only image visible in Preview
<p>So, I've downloaded CWAC2 library and hacked it a bit so i can display a custom layout around the Preview of the camera. </p>

<p>The thing is that when I have the CameraFragment in preview mode inside a FrameLayout in my Activity (left side), i see one thing. After I take the picture (call the take appropriate method from the CameraFragment) and display the image inside an ImageView I see a "larger picture" (right side).</p>

<p>Is there to limit the camera to only capture what it displays on the Preview? I'm guessing I need to set the aspect ratio of the .... camera ?!</p>

<p>And no, it's not a matter of the left side being zoomed in.</p>

<p><a href="https://i.stack.imgur.com/t637k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t637k.jpg" alt="enter image description here"></a></p>