//透明动画
AlphaAnimationalphaAnimation =new AlphaAnimation(1.0f,0.0f);
alphaAnimation.setDuration(3000);
alphaAnimation.setFillAfter(true);
iv.startAnimation(alphaAnimation);
//渐变动画
ScaleAnimation scaleAnimation =new ScaleAnimation(0,1,0,1);
scaleAnimation.setDuration(3000);
scaleAnimation.setFillAfter(true);
iv.startAnimation(scaleAnimation);
//平移动画
TranslateAnimation translateAnimation =new TranslateAnimation(0,300,0,300);
translateAnimation.setDuration(3000);
translateAnimation.setFillAfter(true);
iv.startAnimation(translateAnimation);
//旋转动画
RotateAnimation rotateAnimation =new RotateAnimation(0f,360f, Animation.RELATIVE_TO_SELF,0.5f, Animation.RELATIVE_TO_SELF,0.5f);
rotateAnimation.setDuration(3000);
rotateAnimation.setFillAfter(true);
iv.startAnimation(rotateAnimation);