public static void startAlphaAnimation(View v, long duration, int visibility) {
AlphaAnimation alphaAnimation = (visibility == View.VISIBLE)
? new AlphaAnimation(0f, 1f)
: new AlphaAnimation(1f, 0f);
alphaAnimation.setDuration(duration);
alphaAnimation.setFillAfter(true);
v.startAnimation(alphaAnimation);
}
CoreTeamEventActivity.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:Nimbus
作者:
评论列表
文章目录