How to get the maxX
of RelativeLayout
in Android
?
Asked
Active
Viewed 37 times
-1
1 Answers
0
You should be able to call getWidth() on it

Stephen
- 4,041
- 22
- 39
-
1The [crutial point](http://stackoverflow.com/questions/3591784/getwidth-and-getheight-of-view-returns-0) here is to know when to call the method. – Onik Jan 14 '16 at 23:35