How do you set width of horizontal and vertical layouts to fill parent via blocks?

You can use these special values for width and height:

  • -1 = Automatic
  • -2 = Fill Parent
1 Like