阅读背景:

如何控制Android中默认报警对话框的宽度和高度?

来源:互联网 
AlertDialog.Builder builder = new AlertDialog.Builder(this);
        builder.setTitle("Title");
        builder.setItems(items, new DialogInterface.OnClickListener() {
            public void onClick(DialogInterface dialog, int item) {
                Toast.makeText(getApplicationContext(), items[item], Toast.LENGTH_SHORT).show();
            }
        });
        AlertDialog alert = builder.create();
AlertDialog.Builder builder = new AlertDialog.B



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: