popwindow 点击空白处不触发下面的控件的解决方案:
null, false);
lineLeftXinyuan = (LinearLayout) popupWindow_view
.findViewById(R.id.line_mainleft_xinyuan);
txtModifyPwd = (TextView) popupWindow_view
.findViewById(R.id.txt_mainleft_modifypwd);
txtAboutus = (TextView) popupWindow_view
.findViewById(R.id.txt_mainleft_aboutus);
txtModifyPwd.setOnClickListener(this);
txtAboutus.setOnClickListener(this);
lineLeftXinyuan.setOnClickListener(this);
popLeft = new PopupWindow(popupWindow_view, LayoutParams.WRAP_CONTENT,
LayoutParams.MATCH_PARENT, true);
// 这里是位置显示方式,在屏幕的左侧
popLeft.setBackgroundDrawable(new BitmapDrawable());
popLeft.setFocusable(true);
popLeft.setOutsideTouchable(true);
popLeft.setAnimationStyle(R.style.popAnimation);
popLeft.showAtLocation(imgLoginIcon, Gravity.LEFT, 0, 0);