📌  相关文章
📜  如何更改在alerdialog中选择的单选按钮的颜色 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:03.434000             🧑  作者: Mango

代码示例1
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(
            getActivity(),
            R.style.MaterialThemeDialog);
    alertDialogBuilder.setTitle(R.string.image_resolution);
    alertDialogBuilder.setSingleChoiceItems(R.array.quality_labels, getPosition(), this);

    AlertDialog alertDialog = alertDialogBuilder.create();
    alertDialog.show();