PopupWindow 点击空白处消失
下面不多说直接贴出代码:
View view = LayoutInflater.from(context).inflate(R.layout.group_manager_pop, null);
final PopupWindow pop = new PopupWindow(view, LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
pop.setBackgroundDrawable(new BitmapDrawable());
pop.setFocusable(true);