android dialog 弹出对话框 写法

来源:互联网 发布:淘宝上的评论是真的吗 编辑:程序博客网 时间:2024/05/05 00:03
new AlertDialog.Builder(LogInControl.this)
.setTitle("Video还未建立")
.setMessage("请先建立Video").setNeutralButton("确定", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dlg, int sumthin) {
dlg.dismiss();
}
})
.show();