-
Notifications
You must be signed in to change notification settings - Fork 192
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
有没有遇到FAB下滑隐藏后还是可以点击的? #9
Comments
对的,他这个隐藏了照样可以点击的。还有bug。 |
额, 我现在是通过覆写 Fab 的 onTouchListener 临时修复了下. |
不止fab哦,我使用BottomNavigationView也会的。 |
我用了非官方的BottomNavView, 好像是没有这个问题的. |
非官方的FAB(com.github.clans.fab.FloatingActionButton),如果是bye_burger_bottom_behavior隐藏后就不会响应点击事件,如果是bye_burger_float_behavior隐藏后就会响应点击事件。。。 |
我也遇到了,覆盖了 fab 的 onTouchListener 是怎么弄的? |
其实有最简单的解决方法,进入这个框架看源码,作者其实用的是 属性动画 来实现的,所以可以判断 FAB 的 getScaleY() 的值 是 0 还是 1,来得到 FAB 的显示 和 隐藏 状态 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RT,不是应该不响应点击事件的吗?
The text was updated successfully, but these errors were encountered: