如何让单选按钮在 AlertDialog 中显示很长的标签?
String[] labels = new String[]{"My Super Long Label That Will Result in an ellipses Garbage 1234567890"};
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setSingleChoiceItems(labels, 0 , new DialogInterface.OnClickListener() {...});
AlertDialog alert = builder.create();
alert.show();
当我运行上面的代码时,它会被截断而不是跨多行显示。