I created AlertDialog that contains 4 buttons
OptionDialog = new AlertDialog.Builder(this); OptionDialog.setTitle(\"Options\"); LayoutInflat
Just set the view as null that will close the AlertDialog simple.