AlertDialog.Builder quitDialog = new AlertDialog.Builder( ActivityFragments.this); quitDialog.setTitle("Выход: Вы уверены?"); quitDialog.setPositiveButton("Таки да!", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { // TODO Auto-generated method stub finish(); } }); quitDialog.setNegativeButton("Нет", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { // TODO Auto-generated method stub } }); quitDialog.show(); This code places unevenly the buttons and text in the Dialog. How to fix it? 