I have an alert dialog like this:
AlertDialog.Builder oyunaBaslaDialog = new AlertDialog.Builder(this); oyunaBaslaDialog.setMessage(\"A Takımı\"); oy
Use Dialog.setCancelable():
Sets whether this dialog is cancelable with the BACK key.
In your code this would be:
oyunaBaslaDialog.setCancelable(false);