PopupWindow click on a blank area disappear

The following three conditions must be, to the popupWindow call before displaying 
popupWindow.setOutsideTouchable ( to true) ;
popupWindow.setFocusable ( to true) ;
popupWindow.setBackgroundDrawable ( new new BitmapDrawable ()) ;

Guess you like

Origin www.cnblogs.com/lianzhen/p/11416739.html