how can i include custom titlebar in alertDialog?I know android sdk provide setCustomTitle method but it does'not work
edit:
AlertDialog alert = new AlertDialog.Builder(this).setTitle("Test").setMessage("hello").show();
View view=alert.getLayoutInflater().inflate(R.layout.titlebar, null);
alert.setCustomTitle(view);
but above code is not working
NOTE : I am not looking for custom dialog box but only want to makes its title layout custom..Like below