If I understand correctly, there wouldn't be a x/y location associated with onClick. A click is just a selection action and can be triggered through a touch or other selection method.
I'm pretty sure you'd need to do it through the onTouchEvent() On May 21, 9:30 am, social hub <[email protected]> wrote: > In onclicklistener onclick > > how to get the x and y coordinates where its clicked. > > any one any ideas > > Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

