I need to crop a picture using a resizable rectangle based on user touch events. I'm doing this because the crop intent feature isn't supported by all devices, so I'm creating my own.
I have the original image as a bitmap and it's displayed on the screen as an image view.
Now what I need to do next is have a rectangle (already know size it needs to be) that can be resized and moved for the user to crop the image (Say get a face).
How can I create a resizable rectangle like this?