make material dialog background transparent android code example
Example: how to make dialog transparent android
this.window?.setBackgroundDrawableResource(android.R.color.transparent)
this.window?.setBackgroundDrawableResource(android.R.color.transparent)