我在一个自定义VIEW里面绑定了一个popupWindow 弹出一个listview
但是绑定popupWindow.showAsDropDown无法锁定listview的坐标
popupWindow.showAsDropDown(listView,(int)spinnerX,(int)spinnerY);
popupWindow.showAsDropDown(view);
popupWindow.showAtLocation(listView,Gravity.LEFT,(int)spinnerX,(int)spinnerY);
这三种方法都用了···都是Y坐标的位置偏差很大···
请问如何解决
但是绑定popupWindow.showAsDropDown无法锁定listview的坐标
popupWindow.showAsDropDown(listView,(int)spinnerX,(int)spinnerY);
popupWindow.showAsDropDown(view);
popupWindow.showAtLocation(listView,Gravity.LEFT,(int)spinnerX,(int)spinnerY);
这三种方法都用了···都是Y坐标的位置偏差很大···
请问如何解决
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货