-
-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.2.3下 相对位置无效 #313
Comments
是否继承的BaseLazyPopup |
2.2.3与2.2.1貌似在layout这一块没怎么改动过。而且每次发布前都会经过demo内所有内容的测试的说。。。 能提供复现demo吗 |
我发你的邮箱么?可以的 |
ok,或者你直接拖进来评论这里,应可以上传的 |
demo
|
问题已确认。 请更新到 candy 2.2.4.0705 尝试,正式版本暂时还没发布。 【问题产生原因】: 在attach之后,此时可以弹窗(因为有windowToken),但是锚点view依然没有进行测量,因此无法获取该view位置,所以在左上角弹出(位置:0,0) 【问题解决方案】: 【问题解决版本】: candy 2.2.4.0705 【回归记录】: |
release 2.2.4 已经发布,本issue修复已被包含。 |
提issue前请去WIKI#常见问题找找相关问题,避免重复提问
提issue前请务必参考以下格式填写,否则该问题可能会【被忽略】
//为 layout中的一个ImageView
AppCompatImageView iv_supervise =(AppCompatImageView) findViewById(R.id.iv_supervise);
demoPop = new DemoPop(this);
demoPop.setPopupGravity(BasePopupWindow.GravityMode.RELATIVE_TO_ANCHOR, Gravity.BOTTOM);
demoPop.showPopupWindow(iv_supervise);
没有
The text was updated successfully, but these errors were encountered: