I need to make my custom dialog box as a transparent.
Sample Code :
Dialog dialog;
@Override
protected Dialog onCreateDialog(int id)
{
switch(id)
Just create a style and apply that to your dialog
Then, create your Dialog by using this theme;
Dialog myDialog = new Dialog(this,R.style.myDialogTheme) {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.about_page);
}
};
Hope this will help you to achieve your goal.