Create a DialogFragment without title

@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
  Dialog dialog = super.onCreateDialog(savedInstanceState);

  // request a window without the title
  dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
  return dialog;
}

References

https://stackoverflow.com/questions/15277460/how-to-create-a-dialogfragment-without-title

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.