-
Notifications
You must be signed in to change notification settings - Fork 40
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
横屏侧滑侧边没有动画效果 #12
Comments
检查代码的过程中发现的确有问题: Bugfix 核心代码如下(
此 Bugfix 代码不具通用型,没有判断是否刘海屏设备,没有获取刘海部分高度和屏内导航高度,若都做了又会影响性能(可能),所以并没有 merge。如果实在有需要可以使用以下分支依赖:
|
经过测试,发现是底部导航栏给挡住了,如果把右侧滑动的View平移底部导航栏高度的距离,则可以看到右侧滑动响应;另外建议不要用downX和downY来处理移动距离,不然会出现上述的变形,且横屏带滑动控件会无法响应,用MotionEvent.getX()和MotionEvent.getY()可解决 |
在理。 |
No description provided.
The text was updated successfully, but these errors were encountered: