Skip to content

Instantly share code, notes, and snippets.

@akbarsha03
Created November 30, 2014 13:10
Show Gist options
  • Save akbarsha03/dc8643a3710f06b34d43 to your computer and use it in GitHub Desktop.
Save akbarsha03/dc8643a3710f06b34d43 to your computer and use it in GitHub Desktop.
Remove Title bar from Dialog Fragment
@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
dialog = new Dialog(getActivity());
dialog.getWindow().requestFeature(Window.FEATURE_NO_TITLE);
return dialog;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment