ViewAnimator

ViewAnimator is a base class that inherits FrameLayout, it exhibits the features FrameLayout, can be folded together multiple View components. ViewAnimator additional functionality as its name implies, ViewAnimator can show animation when switching View.

Inheritance shown in FIG its subclasses ViewAnimator

 

 

 ViewAnimator its subclasses is a very important set of UI components, increase the animation when the main function of this component, so that the interface more dazzle. XML attribute can be specified as shown in the following table using ViewAnimator.

XML attributes

Explanation

android:animateFirstView

Whether to use animation displays the first set ViewAnimator View components

android:inanimation

Animation display component setting used ViewAnimator

android:outAnimator

Animation Set ViewAnimator hidden components used

Often using several sub-column ViewAnimator of the actual project.

Guess you like

Origin www.cnblogs.com/de1021/p/11823580.html