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
OnTouchListener
onTouch
Try using getRawX() and getRawY(). Note that this is not adjusted for the size of the view, so you may have to offset if the app isn't fullscreen.