android custom dialog background color transparent code example
Example 1: transparent dialog in android
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
Example 2: how to make dialog transparent android
this.window?.setBackgroundDrawableResource(android.R.color.transparent)