public ObjectAnimator getScalingAnimator() {
PropertyValuesHolder imgViewScaleY = PropertyValuesHolder.ofFloat(View
.SCALE_Y, SCALE_FACTOR);
PropertyValuesHolder imgViewScaleX = PropertyValuesHolder.ofFloat(View
.SCALE_X, SCALE_FACTOR);
ObjectAnimator imgViewScaleAnimator = ObjectAnimator
.ofPropertyValuesHolder(this, imgViewScaleX, imgViewScaleY);
imgViewScaleAnimator.setRepeatCount(1);
imgViewScaleAnimator.setRepeatMode(ValueAnimator.REVERSE);
imgViewScaleAnimator.setDuration(ANIMATION_DURATION);
return imgViewScaleAnimator;
}
RoundView.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:buildAPKsSamples
作者:
评论列表
文章目录