I have an imageview and when clicked, calls OnClickListener.onClick(View v)
. How do I get the exact point/coordinate that the user clicked?
Thanks
You can't get the coordinate touched in OnClickListerner. Please use OnTouchListener.onTouch(View v, MotionEvent event) instead of it, and you could get the coordinate from the event.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With