/**
* 对话框启动时的动画
*/
@Override
public Animation loadStartAnimation() {
TranslateAnimation translateAnimation = new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0f, Animation.RELATIVE_TO_SELF, 0,
Animation.RELATIVE_TO_SELF, 1f, Animation.RELATIVE_TO_SELF, 0f);
AlphaAnimation alphaAnimation = new AlphaAnimation(0, 1);
setDefaultConfig(translateAnimation, false);
setDefaultConfig(alphaAnimation, false);
AnimationSet animationSet = new AnimationSet(false);
animationSet.addAnimation(alphaAnimation);
animationSet.addAnimation(translateAnimation);
return animationSet;
}
UIIDialogImpl.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:RLibrary
作者:
评论列表
文章目录