
Android Application Development Cookbook
By :

The Android Transition Framework offers the following:
Group-level animations: Animation applies to all views in a hierarchy
Transition-based animation: Animation based on starting and ending property change
Built-in animations: Some common transition effects, such as fade-in/out and movement
Resource file support: Save animation values to a resource (XML) file to load during runtime
Lifecycle callbacks: Receive callback notifications during the animation
A transition animation consists of the following:
Starting Scene: The view (or ViewGroup
) at the start of the animation
Transition: The change type (see later on)
Ending Scene: The ending view (or ViewGroup
)
Transitions: Android provides built-in support for the following three transitions:
AutoTransition (default transition): Fade out, move, and resize, then fade in (in that order)
Fade: Fade in, fade out (default), or both (specify order)
ChangeBounds: Move and resize
The...
Change the font size
Change margin width
Change background colour