标签:
用到的类:
com.jauker.widget.BadgeView
实现代码:
1 BadgeView imageBadge = new BadgeView(getContext()); 2 imageBadge.setTargetView(mHolder.image); 3 imageBadge.setText(""); 4 imageBadge.setHeight(30); 5 imageBadge.setWidth(30); 6 imageBadge.setBackground(15, getContext().getResources().getColor(R.color.badge_red));//#F24541
标签:
原文地址:http://www.cnblogs.com/jinglecode/p/5354915.html