ValueAnimator value = ValueAnimator.ofFloat(v, i);
value.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float f = (float) animation.getAnimatedValue();
iv_9.getLayoutParams().height = f;
iv_9.requestLayout();
}
});
网友评论