A call to getLocationOnScreen() or getLocationInWindow() both give me
a top/Y coordinate that is about ~30px (status/notifications bar's
height) too far down. The left/X coordinate is dead on.

As I hinted above, I believe the difference is because of the status/
notification bar... I could be wrong. I think I can solve this if I
can determine the size of the notification bar but, I'm having trouble
doing just that.

Any help would be greatly appreciated.



Note: Hoping to reach a larger audience, this is a cross-post from
Stack Overflow (http://stackoverflow.com/questions/2638342/incorrect-
coordinates-from-getlocationonscreen-getlocationinwindow)

-- 
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

Reply via email to