Created
November 30, 2014 13:10
-
-
Save akbarsha03/dc8643a3710f06b34d43 to your computer and use it in GitHub Desktop.
Remove Title bar from Dialog Fragment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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