一、在setContentView(R.layout.main_title_plus_dialog);前面添加以下代码:
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
二、还需要在setContentView(R.layout.main_title_plus_dialog);后面添加以下代码: