I used this technique to crop the camera preview.
The problem is that I do it in a dialog and the camera preview is also drawn outside of the bounds of the dialog:
What can I do?
I used this technique to crop the camera preview.
The problem is that I do it in a dialog and the camera preview is also drawn outside of the bounds of the dialog:
What can I do?