This question has already been answered:
- How to create a custom Dialog? 1 reply
How to remove the ActionBar from the Dialog highlighted in red?
Dialog dialog=new Dialog(getActivity()); dialog.setContentView(R.layout.block); dialog.show(); Using
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.setContentView(R.layout.block); dialog.show(); getting such a miracle. Why is that?

