int[] location = new int[2];
this.控件.getLocationOnScreen(location);// 获得指定控件的坐标
popupWindow.showAsDropDown(this.viewControl, x,y);只要设置好控件xy就可以了。
int[] location = new int[2];
this.控件.getLocationOnScreen(location);// 获得指定控件的坐标
popupWindow.showAsDropDown(this.viewControl, x,y);只要设置好控件xy就可以了。