A transition animation – defining scenes and applying a transition

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 ...

Get Android Application Development Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.