@Override
public Animation onCreateAnimation(int transit, boolean enter, int nextAnim) {
Animation animation;
if (enter) {
animation = AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_in);
animation.setAnimationListener(mAnimationListener);
} else {
animation = AnimationUtils.loadAnimation(getActivity(), android.R.anim.fade_out);
}
AnimationSet animationSet = new AnimationSet(false);
animationSet.addAnimation(animation);
return animationSet;
}
BaseFragment.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:TaipeiTechRefined
作者:
评论列表
文章目录