PANIOV
RECALL THE MOST IMPORTANT of Java, GWT, JavaScript, D3, AngularJS etc
Saturday, January 11, 2014
Getting View's coordinates relative to the root layout
If you get only ZERO's by
view.getLeft()
... try to use
view.getLocationOnScreen()
and/or
getLocationInWindow().
Here is the link of this issue:
http://stackoverflow.com/questions/2224844/how-to-get-the-absolute-coordinates-of-a-view
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment