Android: how to detect touch location on ImageView if the image view is scaled by matrix?

I set OnTouchListener of an ImageView and implement onTouch method, but if the image is scaled using matrix, how do I calculate the location of the touch?

Or does the motion event automatically takes that into account when returning getX() and getY() ?

16
задан Alexander Farber 2 November 2014 в 21:44
поделиться