dialog transparent background android 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)