How do I animate View.setVisibility(GONE)
- by MrSnowflake
I want to make an Animation for when a View gets it's visibility set to GONE. Instead of just dissapearing, the View should 'collapse'. I tried this with a ScaleAnimation but then the View is collapse, but the layout will only resize it's space after (or before) the Animation stops (or starts).
How can I make the Animation so that, while animating, the lower Views will stay directly below the content, instead of having a blank space?