Button imageButton = (Button)findViewById(R.id.
imageButton.setOnClickListener(
AlertDialog.Builder dig=
dig.setTitle(
dig.setMessage(
dig.setPositiveButton(
dialog.cancel();
}
});
AlertDialog alert = dig.create();
alert.show();
}
});
button1);new OnClickListener() { public void onClick(View v) {new AlertDialog.Builder(DemoButtonActivity.this);"AlertDialog");"AlertDialog Demo");"OK", new DialogInterface.OnClickListener() {public void onClick(DialogInterface dialog, int item) {
imageButton.setOnClickListener(
AlertDialog.Builder dig=
dig.setTitle(
dig.setMessage(
dig.setPositiveButton(
dialog.cancel();
}
});
AlertDialog alert = dig.create();
alert.show();
}
});
button1);new OnClickListener() { public void onClick(View v) {new AlertDialog.Builder(DemoButtonActivity.this);"AlertDialog");"AlertDialog Demo");"OK", new DialogInterface.OnClickListener() {public void onClick(DialogInterface dialog, int item) {
No comments:
Post a Comment