/ Published in: Java
Expand |
Embed | Plain Text
AlertDialog.show(class.this, "Alert Title", "Alert Message", "Button", false)
Comments
Subscribe to comments
You need to login to post a comment.
AlertDialog.show(class.this, "Alert Title", "Alert Message", "Button", false)
Subscribe to comments
You need to login to post a comment.
new AlertDialog.Builder(MainActivity.this) .setTitle("Simple Alert Dialog") .setMessage("Are you sure that you want to quit?") .setNegativeButton("Yes", new DialogInterface.OnClickListener() {
.show();