dialog.setCanceledOnTouchOutside(false);// 设置点击屏幕Dialog不消失 转载于:https://blog.51cto.com/8188462/1532768