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