I am trying to put some loooong text into an AlertDialog. The only issue the default font size that is really too big, so I want to make it smaller.
Here are all the
AlertDialog.Builder builder = new
AlertDialog.Builder(YourActivity.this);
builder.setTitle("Your Title");
builder.setMessage("Your Message");
builder.setPositiveButton("Ok", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// Your Positive Function
}
});
builder.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
// Your Negative Function
}
});
builder.show();