首页 > 移动平台 > 详细

Android Animation详解一

时间:2014-08-20 16:24:52      阅读:404      评论:0      收藏:0      [点我收藏+]

讲解anroid.view.animation

bubuko.com,布布扣

android.view.animation

Provides classes that handle tweened animations.

Android provides two mechanisms that you can use to create simple animations: tweened animation, in which you tell 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 this package (android.view.animation); frame-by-frame animation is handled by the AnimationDrawable class.

该类提供渐变动画。

Android提供了两种机制,你可以用它来创建简单的动画:渐变动画,在其中你告诉android执行一系列简单变换(位置,大小,旋转,等等)到视图的内容;逐帧动画,它加载一系列有序的Drawable资源。两种动画类型可以用在任何视图对象提供简单的旋转定时器,activity的图标,和其他有用的用户界面元素。渐变动画是由这个处理android.view.animation帧动画是由AnimationDrawable类处理

Interfaces

   
   

Android Animation详解一,布布扣,bubuko.com

Android Animation详解一

原文:http://blog.csdn.net/toyuexinshangwan/article/details/38706885

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!