自定义dialog添加自己的布局,几行代码轻松搞定
AlertDialog dialog = new Builder(this).create();
dialog.show();
Window window = dialog.getWindow();
window.setContentView(R.layout.download_app_dialog);
自定义dialog添加自己的布局,几行代码轻松搞定
AlertDialog dialog = new Builder(this).create();
dialog.show();
Window window = dialog.getWindow();
window.setContentView(R.layout.download_app_dialog);