Created
September 19, 2019 09:28
-
-
Save michaelbukachi/feb12a7b9dc839fb7002528d8acb9f9d to your computer and use it in GitHub Desktop.
Alert Dialog overlay color
This file contains 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
val dialog = Dialog(context!!) | |
// val dialog = AlertDialog(context!!) | |
dialog.window?.setBackgroundDrawableResource(android.R.color.black) | |
// dialog.window?.setBackgroundDrawable(ColorDrawable(Color.BLACK)) | |
dialog.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment