View view = View.inflate(MainActivity.this, R.layout.popu , null);
liebiao1= (TextView) view.findViewById(R.id.liebiao1);
wangge1= (TextView) view.findViewById(R.id.wangge1);
window = new PopupWindow(view,LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT);
window.setOutsideTouchable(true);
window.setFocusable(true);
window.showAsDropDown(v);