An [tag:Android] graphics class that is an extension of LayerDrawables and is intended to cross-fade between the first and second layer.
TransitionDrawable is an
android graphics class that is an extension of LayerDrawables and is intended to cross-fade between the first and second layer. To start the transition, call 'startTransition(int)'. To display just the first layer, call resetTransition().
It can be defined in an XML file with the <transition> element. Each Drawable in the transition is defined in a nested <item>. For more information, see the guide to Drawable Resources.