android提示对话框
new AlertDialog.Builder(thisAct)
.setMessage("是否删除本条记录?")
.setTitle("提示")
.setPositiveButton("确定",
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog,
int which) {
progressHelper.Showp("正在删除...");
}
})
.setNegativeButton("取消",
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog,
int which) {
dialog.dismiss();
}
}).show();