Hello, int[] xy = new int[2]; anyView.getLocationOnScreen(xy); // enjoy
Best regards, Yahor On Fri, Aug 26, 2011 at 11:30 AM, Vicky Wang <[email protected]> wrote: > What tool can help to get coordinate of element? > > Thank you a lot. > > > On Thu, Aug 25, 2011 at 4:04 PM, Vicky Wang <[email protected]> wrote: > >> Hi ,all >> What way to get coordinate of any element on activity? Thank you for your >> help. >> >> >> 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 at > http://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

