android alertdialog when you click a button code example
Example: force user to click button on AlertDialog android
AlertDialog dlg = builder.create();
dlg.setCancelableOnTouchOutside(false);
dlg.show();
AlertDialog dlg = builder.create();
dlg.setCancelableOnTouchOutside(false);
dlg.show();