I am doing an application, that has to display an image(pic from sdcard) and another image on top of it(square),that looks like a square where only the middle visible portion of square is to be cropped. The image that is visible inside the square should be able to zoom. I am able to zoom the image separately when the square image is not present. but i want the image to be zoomed in the center visible part when square image is present . And this square image can only be used for panning and must not be zoomed. Someone please help me doing this. This pic shows how it looks like.
Thanks in advance.