得到PopupWindow的高度

来源:互联网 发布:vb borderstyle属性 编辑:程序博客网 时间:2024/05/16 14:19

/**测量mPopupWindow的高度*/

mPopupWindow.getContentView().measure(MeasureSpec.UNSPECIFIED, MeasureSpec.UNSPECIFIED);
mIntViewH = mPopupWindow.getContentView().getMeasuredHeight();
0 0