-
Notifications
You must be signed in to change notification settings - Fork 130
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
问一下,怎么动态更新位置? #82
Comments
设置setGravity(FxGravity.RIGHT_OR_BOTTOM),代码调用setBorderMargin(0,0,200,0)无效,会跑到屏幕上面去 |
setBorderMargin() 方法是用于设置移动位置的边框,比如setBorderMargin(0,0,200,0),相当于浮窗可移动位置距离屏幕底部会有200px的偏移量。动态更新位置的话,这个的确之前没考虑过,这边可以增加一个api去处理。 |
move 有时候不生效 |
这个是因为先设置了 |
后续会处理,正在移动时会屏蔽后续的移动坐标。 |
比如在某些页面距底部30dp,但是有些页面不需要间距?
The text was updated successfully, but these errors were encountered: