-1

How to get the maxX of RelativeLayout in Android?

enter image description here

Onik
  • 19,396
  • 14
  • 68
  • 91
stevGates
  • 910
  • 2
  • 9
  • 19

1 Answers1

0

You should be able to call getWidth() on it

Stephen
  • 4,041
  • 22
  • 39
  • 1
    The [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