登 录
WindowManager.LayoutParams lp = dialog.getWindow() .getAttributes(); lp.dimAmount = 0.7f;//设置对话框外部区域透明度 lp.alpha = 0.7f;//设置对话框本体背景透明度 dialog.getWindow().setAttributes(lp);
抱歉!评论已关闭.