I need to make my custom dialog box as a transparent.
Sample Code :
Dialog dialog; @Override protected Dialog onCreateDialog(int id) { switch(id)
Use dialog instead of AlertDialog
final Dialog dialog = new Dialog(this); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT)); dialog.setContentView(R.layout.splash); dialog.show();