android 弹出提示框

new AlertDialog.Builder(this).setTitle("删除提示框").setMessage("确认删除该数据?")

.setPositiveButton("确定", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
dao.deletALL("customers");
shujuList();
}})
.setNegativeButton("取消",null)
.show();

你可能感兴趣的:(android 弹出提示框)