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