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

在view的正下方显示不适配。。。 #29

Open
xuecq236 opened this issue Jan 5, 2021 · 0 comments
Open

在view的正下方显示不适配。。。 #29

xuecq236 opened this issue Jan 5, 2021 · 0 comments
Labels

Comments

@xuecq236
Copy link

xuecq236 commented Jan 5, 2021

mBubbledialog = new BubbleDialog(context)
.addContentView(view)
// .setOffsetY(Util.dpToPx(context, -3))
.setBubbleLayout(bl).setClickedView(clickView)
.setPosition(BubbleDialog.Position.BOTTOM).setLayout(Util.dpToPx(context, 127),
Util.dpToPx(context, 110), Util.dpToPx(context, 1));

在三星S20 utral 手机上如果设置上setOffsetY为-5,才会在view的正下方显示。不然会离得很远。
在其他手机上不用设置setOffsetY为-5也会在view正下方显示。。。

@xujiaji xujiaji added the bug label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants