So here's the problem. I am displaying a big image in ImageView and need to find it's position relative to the image. Like this:
╔═══════════════════════════════╗
║ Image ║
║──>╔═════════════╗ ║
║ ║ ImageView ║ ║
║ ║ ║ ║
║ ╚═════════════╝ ║
║ ║
║ ║
╚═══════════════════════════════╝
Any help?
UPD: Since there were some misunderstandings I will explain the problem in detail.
I have an image. A Bitmap actually. I am displaying it in an ImageView with CENTER
scale type. Assume that the image is bigger than the ImageView, so only a part of the image is displayed. I want to find the position of this part relative to the whole image.