-
Notifications
You must be signed in to change notification settings - Fork 109
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
RadioGroup里的RadioButton绑定后RadioButton背景消失 #4
Comments
能看看radiobutton布局代码? |
不好意思哈,我写了个demo,已经删了,就是那种很普通的布局,一个RadioGroup嵌套了5个RadioButton,类似微信那种底部菜单。 |
你好,我也遇到了相同的问题,RadioButton好像被隐藏了,不能点击,badge能显示
Bind代码:
|
weight 权重是1 导致的 具体因为原因是啥还没找到 |
不支持radiobutton |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
代码如下:
BadgeFactory.create(this)
.setTextColor(Color.WHITE)
.setWidthAndHeight(25,25)
.setBadgeBackground(Color.RED)
.setTextSize(10)
.setBadgeGravity(Gravity.RIGHT|Gravity.TOP)
.setBadgeCount(20)
.setShape(BadgeView.SHAPE_CIRCLE)
.setMargin(0,0,5,0)
.bind(rbAttention);
The text was updated successfully, but these errors were encountered: