i want have my custom header for my CustomAlert
.
what do i do for my custom layout for Dialog,s title?
Edit2: i added my code:
protected Dialog onCreateDialog(int id)
{
switch(id)
{
case Dialog_Reset :
Dialog dialog=new Dialog(this);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(R.layout.about);
dialog.setCanceledOnTouchOutside(true);
return dialog;
}
return super.onCreateDialog(id);
}
and becuse i dont like default header in dialog,i remove it now,while i learn having my custom header.