Shrink and Expand
You can use the Shrink in/Expand out animation type to transition a widget in or out with a shrinking or expanding effect.
The Shrink animation can be applied to a widget as an entrance animation. The Expand animation can be applied to a widget as an exit animation.
For more information about adding animations to widgets, see Adding widget animations.