```
View view = LayoutInflater.from(this).inflate(R.layout.popwindow_show,null);
AlertDialog dialog =newAlertDialog.Builder(this)
.setView(view)
.create();
dialog.setCancelable(false);
dialog.show();
```
```
View view = LayoutInflater.from(this).inflate(R.layout.popwindow_show,null);
AlertDialog dialog =newAlertDialog.Builder(this)
.setView(view)
.create();
dialog.setCancelable(false);
dialog.show();
```
本文标题:android 模态对话框
本文链接:https://www.haomeiwen.com/subject/gkzhpxtx.html
网友评论