title: Popup window does not dismiss on ouside touch when set mPopWindow.setBackgroundDrawable(null)
body: <p>I have 1 question/ issue, I have implemented Popup window in my project. I have check list in pop up window and having mandatory selection functionality. For this functionality I need to check whether user had selected any at least 1 item in list on back press,before dismiss of pop window. The problem is onKey listener fire only when I set   mPopWindow.setBackgroundDrawable(null); to my popup window. but at this time outside touch does not work at all. If remove mPopWindow.setBackgroundDrawable(null); and put mPopWindow.setBackgroundDrawable(new BitmapDrawable()); outside touch works but onBack press does not fire onKey listener. Any 1 know how to achieve both functionality onBackpress and outsid touch on popup window.</p>