ITeye博客

menuDialog

liangoogle · 2011-05-20 17:29 · dialog · 移动开发 · Markdown

menuDialog = new AlertDialog.Builder(this).create(); WindowManager.LayoutParams lp = menuDialog.getWindow().getAttributes(); lp.alpha = 0.9f; //设置了对话框的透明度

lp.dimAmount = 0.5f; lp.y = 35; //对话框的显示位置 menuDialog.getWindow().setAttributes(lp)

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。