I'd like to be able to hide an ImageView in my layout at certain times. I don't just want to make it invisible, I want it to take up no space so the rest of the layout collapses appropriately. Just like in HTML where you'd set "style='display:none;'". The last thing I tried was setting the max height to 0, but that didn't work.
Is this possible to do?