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

不能bind View实例吗? #15

Open
HH-Ding opened this issue Feb 16, 2019 · 0 comments
Open

不能bind View实例吗? #15

HH-Ding opened this issue Feb 16, 2019 · 0 comments

Comments

@HH-Ding
Copy link

HH-Ding commented Feb 16, 2019

我想在浮标上显示红点,代码如下
floatTipsView = BadgeFactory.create(mContext)
.setWidthAndHeight(8, 8)
.setBadgeBackground(Color.parseColor("#FF1014"))
.setBadgeGravity(Gravity.RIGHT | Gravity.TOP)
.setShape(BadgeView.SHAPE_CIRCLE)
.setMargin(0, 0, 0, 0)
.bind(FloatView.this);
但并没有显示出来,请问是什么原因?FloatView extends FrameLayout

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

1 participant