/**
* 对话框的布局动画
*/
@Override
public Animation loadLayoutAnimation() {
if (layoutAnim) {
if (layoutAnimation == null) {
TranslateAnimation translateAnimation = new TranslateAnimation(
Animation.RELATIVE_TO_PARENT, 0f, Animation.RELATIVE_TO_PARENT, 0f,
Animation.RELATIVE_TO_PARENT, 1f, Animation.RELATIVE_TO_PARENT, 0f);
setDefaultConfig(translateAnimation, false);
translateAnimation.setDuration(160);
return translateAnimation;
} else {
return layoutAnimation;
}
}
return null;
}
UIIDialogImpl.java 文件源码
java
阅读 31
收藏 0
点赞 0
评论 0
项目:RLibrary
作者:
评论列表
文章目录