PopupWindow点击空白区域消失

下面三个条件必须要有,要在popupWindow显示之前调用
popupWindow.setOutsideTouchable(true);
popupWindow.setFocusable(true);
popupWindow.setBackgroundDrawable(new BitmapDrawable());
posted @ 2019-08-27 10:28  lianzhen  阅读(804)  评论(0编辑  收藏  举报