# BadgeTextView
**Repository Path**: laomengzhu/BadgeTextView
## Basic Information
- **Project Name**: BadgeTextView
- **Description**: show badge on textView
- **Primary Language**: Android
- **License**: MPL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 12
- **Forks**: 1
- **Created**: 2015-12-02
- **Last Updated**: 2021-10-15
## Categories & Tags
**Categories**: android-modules
**Tags**: None
## README
# BadgeTextView
一个可以在TextView控件上显示数字徽章的Android控件

## 属性说明
```xml
```
## 使用
直接在XML中声明,在代码中调用setBadgeCount设置数字即可。
```xml
```
```java
tvText = (BadgeTextView) findViewById(R.id.tv_text);
tvText.setBadgeCount(8);
```
## License
Mozilla Public License, version 2.0