Created
January 18, 2019 17:55
-
-
Save dynoChris/5543238682f9a6f6f67dd9813168b06b to your computer and use it in GitHub Desktop.
How to show custom dialog in Android
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
Dialog dialog = new Dialog(this); | |
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); | |
dialog.setCancelable(false); | |
dialog.setContentView(R.layout.progress_layout); | |
dialog.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment