[AlertDialog]用法示例,alertdialog示例,AlertDialog
分享于 点击 43906 次 点评:49
[AlertDialog]用法示例,alertdialog示例,AlertDialog
AlertDialog dialog = new AlertDialog.Builder(this) .setTitle("AlertDialog示例") .setMessage("消息") .setNegativeButton("退出", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { } }) .setPositiveButton("保存", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { } }) .create();dialog.show();//该片段来自于http://byrx.net
用户点评