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

有一个bug,图标一直在移动 #2

Open
lilao6 opened this issue Apr 26, 2016 · 1 comment
Open

有一个bug,图标一直在移动 #2

lilao6 opened this issue Apr 26, 2016 · 1 comment

Comments

@lilao6
Copy link

lilao6 commented Apr 26, 2016

作者你好,我使用了你的FloatingActionButtonPlus,和好用,ui瞬间高大上了,不过,我在关于百度地图的项目中使用该项目,只要我拖动地图,按钮就会向上移动,我到源码中找了一下,发现onLayout中有这么一句,layoutParams.height = getMeasuredHeight() - 1;这个-1我不知道是什么原理,不过,似乎这个-1就是造成我按钮移动的根源。删掉-1就好了

@liuzipengWally
Copy link
Owner

已修复

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

2 participants