天天看點

得到PopupWindow的高度

mPopupWindow.getContentView().measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);

mIntViewH = mPopupWindow.getContentView().getMeasuredHeight();

繼續閱讀