final View view = inflater_.inflate(R.layout.xx, null);
final EditText input = (EditText)contentView.findViewById(R.id.xx);
PopupWindow pop = new PopupWindow(view, LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
popwindow设置如下:
setFocusable(false);
setOutsideTouchable(true);