I set a "Do you want to Log Out" question and then a YES or NO as a builder.setPositiveButton and builder.setNegativeButton. However, the YES and NO words are too small. How do I make them bigger? Here's what I have in my NavigationDrawer when "Log Out" item clicked and alertDialog pops up:
Here's the code for alertDialog:
AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
builder.setCancelable(false);
builder.setTitle("Are you sure you want to Log Out?");
builder.setNegativeButton("NO", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int WhichButton) {
dialog.cancel();
}
});
builder.setPositiveButton("YES", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
}
});
builder.show();
So i'm just looking to make the words "YES" and "NO" bigger, how do I do it?
