-1

How to get the maxX of RelativeLayout in Android?

enter image description here

Onik
  • 17,358
  • 12
  • 67
  • 87
stevGates
  • 834
  • 2
  • 9
  • 17

1 Answers1

0

You should be able to call getWidth() on it

Stephen
  • 3,751
  • 15
  • 36
  • 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