Android代码-BadgeView

时间:2022-08-25 09:52:20
【文件属性】:

文件名称:Android代码-BadgeView

文件大小:139KB

文件格式:ZIP

更新时间:2022-08-25 09:52:20

Android代码

BadgeView a BadeView base on android include:      compile 'com.allenliu.badgeview:library:1.1.1'(newest) bind like this: 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) .setSpace(10,10) .bind(view); if u want to set space dont use setMargin(),use setSpace instead. There are some other constructer methods and you can be


网友评论