public static AnimationSet startAlphaHideAnimation(final View VIEW) {
final int ANIMATION_DURATION = 350;
final Animation mHideViewAnimation = new AlphaAnimation(1f, 0f);
AnimationSet mAnimations = new AnimationSet(true);
mAnimations.setDuration(ANIMATION_DURATION);
mAnimations.setInterpolator(new AccelerateDecelerateInterpolator());
mAnimations.addAnimation(mHideViewAnimation);
mAnimations.setFillAfter(true);
if(VIEW != null)
VIEW.startAnimation(mAnimations);
return mAnimations;
}
AnimationService.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:Pocket-Plays-for-Twitch
作者:
评论列表
文章目录