Hello,

int[] xy = new int[2];
anyView.getLocationOnScreen(xy);
// enjoy

Best regards,
Yahor

On Fri, Aug 26, 2011 at 11:30 AM, Vicky Wang <kewy...@gmail.com> 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 <kewy...@gmail.com> 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to