Tag: Animation

android 动画Animation之TranslateAnimation移动

TranslateAnimation详解   Android JDK为我们提供了4种动画效果,分别是: AlphaAnimation,RotateAnimation, ScaleAnimation, TranslateAnimation.   TranslateAnimation是移动的动画效果。它有三个构造函数,分别是: [code lang="JAVA"] public TranslateAnimation(Context context,AttributeSet attrs) public TranslateAnimation(float fromXDelta, float toXDelta, float fromYDelta, float toYDelta) public TranslateAnimation(int fromXType, float fromXValue, int toXType, float toXValue, int fro.....
阅读全文