摘要: 比起property animation ,View就简单得多了。它提供了大部分的功能,而关于动画的定义,可以是XML或者是CODE,XML移植性较好。XML的标签可以是, , , ,或者是包含起来的, , , 。主要需要注意的是,他的动画可以是同时或者是按顺序来的,只需要在XML里面的startOffset做好设置即可,同时,对于数字的变换(例如直线、二次函数变化等)可以通过interpolator属性来设置。在代码中引用XML动画:ImageView spaceshipImage = (ImageView) findViewById(R.id.spaceshipImage);Animati 阅读全文
posted @ 2014-03-22 13:32 yutoulck 阅读(194) 评论(0) 推荐(0) 编辑
摘要: The view animation system provides the capability to only animate View objects, so if you wanted to animate non-View objects, you have to implement your own code to do so. The view animation system is also constrained in the fact that it only exposes a few aspects of a View object to animate, such a 阅读全文
posted @ 2014-03-22 12:02 yutoulck 阅读(247) 评论(0) 推荐(0) 编辑