Wednesday, November 4, 2009

[android-developers] get absolute screen position

View.getLeft() and View.getTop() give the position of the view
relative to the parent.

Is there a way to get the absolute screen position of that view?

Either a way to translate those coordinates into screen coordinates to
make a call to get the position in screen coordinates.

tia.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment