I\'ve got the following LinearLayout...
invisible will take up the same space as if it were visible. Set the visibility to gone if you want it to take up no space.
invisible
visible
gone