Skip to content
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

新版本对于SystemBar覆盖不生效 #473

Closed
ChawLoo opened this issue Jul 21, 2022 · 10 comments
Closed

新版本对于SystemBar覆盖不生效 #473

ChawLoo opened this issue Jul 21, 2022 · 10 comments

Comments

@ChawLoo
Copy link

ChawLoo commented Jul 21, 2022

提issue前请去WIKI#常见问题查询相关问题,避免重复提问

Please go to WIKI#FAQ for relevant questions before commit your issue to avoid repetitive questions.


提issue前请务必参考以下格式填写,否则该问题会被直接关闭。

Please be sure to follow the format below before submitting the issue, otherwise the question will be actively closed!

  • 系统版本(必须)/ System version (required):Android 11
  • 库版本(必须)/ Library version (required):3.2.0
  • 问题代码/截图(可选)/ Problem code or screenshot (optional):
  • 报错信息(可选)/ Error reporting information (optional):

问题描述/重现步骤请写在这里
Please write the description here.
新版本对于SystemBar覆盖不生效,不起作用,我下载了你的demo试了一下也无效或者不正确的

@ChawLoo ChawLoo closed this as completed Jul 21, 2022
@ChawLoo
Copy link
Author

ChawLoo commented Jul 21, 2022

发现测试不出来了, 但是确实出现过问题,我一下子又复现不出来了

@ChawLoo ChawLoo reopened this Jul 21, 2022
@ChawLoo
Copy link
Author

ChawLoo commented Jul 21, 2022

image
image
image

@razerdp
Copy link
Owner

razerdp commented Jul 22, 2022

模拟器能复现吗…我手上没有Android11的设备

@SelectSex
Copy link

image

看你的选择城市截图,是小白条没有适配吗,这个我和作者讨论过,在低版本红米出现过,
具体可以看 #452

解决方案是,使用BasePopup-3.2.1-SNAPSHOT,然后不要再xml中使用android:fitsSystemWindows,自己通过
setOverlayNavigationBarMode(BasePopupFlag.OVERLAY_CONTENT) //设置内容区域沉浸到导航栏
setOverlayStatusbarMode(BasePopupFlag.OVERLAY_MASK)
来控制是否限制内容扩充到,状态栏和导航栏小白条,

@ChawLoo
Copy link
Author

ChawLoo commented Jul 29, 2022

刚看到回复,我明天尝试一下楼上的方案

@ChawLoo
Copy link
Author

ChawLoo commented Jul 31, 2022

经测试可以,望早点发布3.2.1正式版吧

@razerdp
Copy link
Owner

razerdp commented Aug 26, 2022

开发版本修复了,新版本要稍后,我目前没啥时间去迭代。。

@ChawLoo
Copy link
Author

ChawLoo commented Nov 8, 2022

补充一点,必须把xml的高度设置成wrap_content

@pichsy
Copy link

pichsy commented Nov 21, 2022

这个问题,我经常遇到,目前处理,弹窗弹起来以后,再次调用设置全屏的代码就可以了

@razerdp
Copy link
Owner

razerdp commented Dec 29, 2022

fixed in 3.2.1

@razerdp razerdp closed this as completed Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants