I want an alert box which is fully customized in short i want my background image on that, my custom buttons and my custom message on it, currently i m using a default alert box having my message only but i want it to be fully custom alert box as i said earlier
please help me, and please share a sample code snippet if its possible thnks :)
currently the code is like that :-
AlertDialog.Builder alertDialogBuilder3 = new AlertDialog.Builder(context);
alertDialogBuilder3.setTitle("Location Check");
alertDialogBuilder3
.setMessage("Do you want to cancel loading?")
.setCancelable(false)
.setPositiveButton("Ok",new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog,int id) {
LAtestTab.this.finish();
}
})
.setNegativeButton("No",new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog,int id) {
// if this button is clicked, just close
// the dialog box and do nothing
dialog.cancel();
}
});
;
AlertDialog alertDialog3 = alertDialogBuilder3.create();
alertDialog3.show();