-
Notifications
You must be signed in to change notification settings - Fork 687
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
透明状态栏下,setSystemUiVisibility之后键盘状态监听有问题 #101
Comments
刚才又看了下这个问题,顺便翻了下issues,发现很多人有遇到,就是系统键盘panel切换到自定义panel时会闪一下,基本都确定这段代码有问题:KeyboardUtil.calculateKeyboardShowing() |
我使用的是ImmersionBar适配沉浸式状态栏,同样遇到异常问题 |
目前看来最简单的做法就是注掉上面这段代码了 |
不不不,我说的是注释掉以后同样存在这个问题,应该是有冲突,我不用沉浸式就没事 |
哦,我是自己处理的状态栏,可以正常用 |
支持沉浸式哈。 https://github.com/YummyLau/PanelSwitchHelper 可以试试 |
使用translucent属性后,如果window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR),会导致actionBarOverlayLayout.getPaddingTop()为0,软键盘监听都不正常了,有什么办法解决吗
The text was updated successfully, but these errors were encountered: