menuDialog
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)
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)
暂无评论。
评论功能维护中,当前仅展示历史评论。