I create an AlertDialog
AlertDialog.Builder builder = new AlertDialog.Builder(this); ... AlertDialog alert = builder.create(); alert.show();
Agreed with android developer. You can also use
TextView messageView = (TextView) alert.findViewById(android.R.id.message);
To get the control over the messageTextView of AlertDialog. Then you can set the new text there.