ObjectAnimator的初步使用
属性动画最大的特点就是可以让任何Object动起来, 我先给个小栗子, 大家感受一下....(tvTest, "scaleX", 1f, 5f, 1f);
AnimatorSet animSet = new AnimatorSet();
animSet.play(scaleY).with(scaleX...混合动画
这里就是将垂直移动动画, 水平缩放和垂直缩放混合在一起, 大家肯定发现了, play(), with(), after()这几个函数....after(Animator anim) after中的动画先执行, 之后才是play中的动画.
after(long delay) after中设置时间, 那么play中的动画会根据时间延迟执行.
before...(Animator anim) before中的动画后执行, play中的先执行.
with(Animator anim) play中的动画和with中的一同执行.
playTogether() 中间可以放入要一起执行的全部动画