I\'d like to close a dialog window in my android app by simply touching the screen.. is this possible? If so, how?
I\'ve looked into setting some \"onClickEven\" on
Dialog dialog = new Dialog(context) { public boolean dispatchTouchEvent(MotionEvent event) { dialog.dismiss(); return false; } };
And you are done!