How can I change the default text and background color of Dialog buttons (setPositiveButton, setNeutralButton)?
public void onBackPressed(){
if(webView.canGoBack()) {
webView.goBack();
}else{
AlertDialog.Builder dialog = new AlertDialog.Builder(this);
dialog.create();
dialog.setTitle("Confirmation ...");
dialog.setMessage("Are you sure ! \nYou want to exit from app ?");
dialog.setCancelable(false);
dialog.setPositiveButton("Yes", (dialogInterface, which) -> finish());
dialog.setNeutralButton("Cancel", MainActivity::onClick);
dialog.show();
}
}