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
Activity中的Fragment使用控件,底部编辑框不显示 #174
Comments
请问,大佬解决了吗?我也遇到同样的问题。。。 |
请问解决了吗,遇到了同样的问题。谢谢。 |
你能上传个xml文件,我先看看这个场景的UI结构,然后看看怎么兼容 |
这个场景在主页面底部TAB导航栏+ViewPager2,在Fragment中使用确实会出现遮挡问题,目前找到一种取巧的方案(测试设备少,兼容性未知),实现如下: 代码: XML:
看更新日志V1.5.5就支持ViewPager2了,但是我用的V1.5.7版本,文档和demo没找到库自带的处理方案。 |
Androidx版本:否
PanelSwitchHelper版本:v1.3.13
手机型号: 红米 note7
手机系统版本: Android 9.0
问题描述:主页Activity多Fragment,底部显示tab栏场景,当控件位于Fragment中,控件(内容区域RecyclerView,下方输入框),显示出来的效果为recyclerView与底部tab栏衔接,下方输入框并未展示;输入框添加下边距后能够展示,但是点击输入框,软键盘与输入框中间有一段间距,可能是tab栏。
onGlobalLayout
The text was updated successfully, but these errors were encountered: