我需要dialog.getWindow().setGravity(Gravity.BOTTOM);,但在应用程序中,不应用这段代码。dialog = new Dialog(personal_view_MainActivity.this,android.R.style.Theme_Translucent_NoTitleBar_Fullscreen);
我正在用对话框片段进行全屏对话。我成功地显示了对话框,但问题出在它的宽度和高度上。它不能显示全屏大小。我想设置宽度和高度与累积全屏大小,就像一个活动。请指导我如何设置对话框的宽度和高度,以便将其累积到全屏大小。So here you can
// remove the dialog title, but you must call the superclass to get the DialogDialogdialog</e