# Android-CustomRatingBar
**Repository Path**: kikt/Android-CustomRatingBar
## Basic Information
- **Project Name**: Android-CustomRatingBar
- **Description**: 一个自定义的RatingBar
- **Primary Language**: Android
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 11
- **Forks**: 2
- **Created**: 2016-03-18
- **Last Updated**: 2022-03-07
## Categories & Tags
**Categories**: android-modules
**Tags**: None
## README
#Android-CustomRatingBar
## Custom Rating Bar
---
[English doc](https://github.com/CaiJingLong/Android-CustomRatingBar/blob/master/README.md)
[中文文档](https://github.com/CaiJingLong/Android-CustomRatingBar/blob/master/README-CHN.md)
## project
- platform :Android
- language :java
- version :1.0
### install
Add it in your root build.gradle at the end of repositories:
https://jitpack.io/#CaiJingLong/Android-CustomRatingBar
Step 2. Add the dependency
dependencies {
compile 'com.github.CaiJingLong:Android-CustomRatingBar:-SNAPSHOT'
}
## screenshot
---

### description
---
extends viewgroup
### xml attribute
```xml
```
## use
---
### xml文件
---
```xml
```
### use java code
---
```java
void onCreate(){
mRb = findViewById(R.id.rb);
mRb.setOnStarChangeListener(this);
@Override
public void onStarChange(CustomRatingBar ratingBar, float star) {
Log.d("MainActivity", "star:" + star);
}
}
```
## about me
- [email](mailto:cjl_spy@163.com?subject=RatingBar-Feedback)
- or issue