Thanks a lot for your response. I also have another question, sorry for that. No idea to get the view instance on activity, because the view on activity is not in my application, it is on another activity. How can I get the view? Thanks again.
On Fri, Aug 26, 2011 at 4:55 PM, Yahor Paulavets <[email protected] > wrote: > Tool: hierarchy viewer at 'tool' dir in sdk. > > Best regards, > Yahor > > > On Fri, Aug 26, 2011 at 11:54 AM, Yahor Paulavets < > [email protected]> wrote: > >> 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 > -- 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

