This is where it gets gloriously complicated. There are various types of animations:
ParallelAnimation
SmoothedAnimation
PauseAnimation
SequentialAnimation
Additionally, PropertyAction
and ScriptAction
can be used. A PropertyAction
is a change to any property that happens without an animation. We learned about ScriptAction
in the last section on States.
There are also animation types that operate on various values:
AnchorAnimation
ColorAnimation
NumberAnimation
OpacityAnimator
PathAnimation
ParentAnimation
PropertyAnimation
RotationAnimation
SpringAnimation
Vector3DAnimation
A Behavior
can be used to specify an animation for a property change.
Let's look at how some of these can be used.
Transitions and states are explicitly tied together. A Transition
animation happens when a State
change occurs.
A State
change can handle different kinds of changes:
AnchorChanges
: Changes to anchor layoutsParentChanges
: Changes to parenting (as in reparenting)PropertyChanges
: Changes to the target's...