I created this alertDialog but I would like to know if instead of having an icon when it appears, if it is possible it has another color or even use an image as its (Background). And Assign the buttons a background.
public void icon (View View){
AlertDialog.Builder dialog = new AlertDialog.Builder (this);
dialog.setMessage("Exemplo com icon");
dialog.setPositiveButton("NEXT", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
setContentView(R.layout.next);
}
});
dialog.setTitle("Icone");
dialog.setIcon(R.drawable.buttonum);
dialog.show();
}