Hey I have an imageView in a toolbar layout and its gravity is set to "start" , but I need to know where is start so I can know in which direction the arrow sould turn. How can I get the "start" of the screen pragmatically?
Asked
Active
Viewed 42 times
0
-
Please explain clearly.. – Ganesh Kanna Jan 24 '17 at 13:32
-
Please explain clearly with example or image. – Chetan Patel Jan 24 '17 at 13:37
-
You should read [this](http://stackoverflow.com/questions/11483345/how-do-android-screen-coordinates-work) it explain how coordinates loooks like and [this](http://stackoverflow.com/questions/3619693/getting-views-coordinates-relative-to-the-root-layout) how to get relative position to parent. – jpelczar Jan 24 '17 at 13:48