摘要:
自定义动画,需要新建一个类,继承Animation类。重写applyTransformation()方法和initialize()方法。applyTransformation(float interpolatedTime, Transformation t)方法中第一个参数:interpolated... 阅读全文
摘要:
动画侦听使用了AnimationListener接口,需要实现三个方法onAnimationStart()、onAnimationRepeat()、onAnimationEnd()代码:实现Button的动画侦听 1 findViewById(R.id.btnAnimation).s... 阅读全文
摘要:
Tween Animation-补间动画官网链接-http://developer.android.com/reference/android/view/animation/Animation.htmlAnimation,继承Object,实现Cloneable接口实现的直接子类:AlphaAnim... 阅读全文