Issue
For an alert dialog in Android, how do you make the positive button not have all capital letters. The text is "OK" instead of "Ok".
Solution
You can set it to be anything you want - Eg.:
AlertDialog.Builder builder = new AlertDialog.Builder(MyActivity.this);
builder.setTitle("Title");
builder.setMessage("message");
builder.setPositiveButton("Ok", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
return;
}
});
AlertDialog dialog = builder.create();
dialog.show();
Answered By - jesses.co.tt
Answer Checked By - Willingham (JavaFixing Volunteer)