OK Dialog Box Android

 

AlertDialog.Builder dlgAlert  = new AlertDialog.Builder(this);

dlgAlert.setMessage("Dibangunkan oleh Zakat Pulau Pinang");
dlgAlert.setTitle("Zakat Emas Kalkulator");
dlgAlert.setPositiveButton("Ok",
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
//dismiss the dialog
}
});
dlgAlert.setCancelable(true);
dlgAlert.create().show();

Popular Posts

WorldConferences.net