I want to remove the black background on custom dialog as shown in the picture. I\'m sure the black background was from the dialog, not from app\'s background.
//code style in style.xml :
// in activity :set style to dialog :
Dialog dialogconf = new Dialog(TreeAct.this, R.style.translucentDialog); dialogconf.getWindow().requestFeature(Window.FEATURE_NO_TITLE); dialogconf.setContentView(R.layout.dialog_layout);