Android Animation detailed One

Source: Internet
Author: User

Explain the anroid.view.animation.


Android.view.animation

Provides classes that handle tweened animations.

Android provides-mechanisms-I-can use-to-create simple animations: tweened animation, in which you tel L Android to perform a series of simple transformations (position, size, rotation, and so on) to the content of a View; and frame-by-frame animation, which loads a series of drawable resources one after the other. Both animation types can be used in any View object to provide simple rotating timers, activity icons, and other useful UI Elements. tweened animation is handled by the This package (android.view.animation); Frame-by-frame animation is handled by the AnimationDrawable class.

This class provides a gradient animation.

Android offers two mechanisms that you can use to create simple animations: A gradient animation in which you tell Android to perform a series of simple transformations (position, size, rotation, and so on) to the contents of the view; frame-wise animation, which loads a sequence of drawable resources. Two types of animations can be used in any view object to provide simple rotation timers, activity icons, and other useful user interface elements. Gradient Animationsis by thisPackageprocessing(android.view.animation ); Frame Animationis byanimationdrawableClass Handling.

Interfaces

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.