Animate View gone

Posted by MrSnowflake on Stack Overflow See other posts from Stack Overflow or by MrSnowflake
Published on 2010-04-14T00:10:59Z Indexed on 2010/04/14 0:12 UTC
Read the original article Hit count: 796

Filed under:
|

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 move up?

© Stack Overflow or respective owner

Related posts about android

Related posts about animation