When I take a photo it comes rectangular, I want to cut it in the size of a square by taking the center of the photo and put in the imageview that is on the right side.
The problem is that the image is on the side, and not standing as it should.
Erel, Thanks!
But I could not do what I wanted
I want to cut a square in the center of the image, as in the photo I'm sending (red square)
If I take a picture of the DirAssent folder, I cut the image correctly, but if I take a photo and try to cut it, the photo is cut correctly, but it stays on the side (as in the first image I sent).