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.
Remove the background opacity color, you just need to set the DimAmount
dialog.getWindow().setDimAmount(float amount);
The new dim amount, from 0 for no dim to 1 for full dim.