ArcRatingBar

Additional

Language
Java
Version
1.2 (Jun 26, 2019)
Created
Jun 23, 2019
Updated
Jun 26, 2019
Owner
morteza movahedian (iceboy1369)
Contributor
morteza movahedian (iceboy1369)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

ArcRatingBar

ArcRatingBar is very simple library that can just show 5 star just to show as curved mode.

New Fiture:
 added custome fill star color and stroke star color

Add it in your root build.gradle at the end of repositories:

allprojects {
 repositories {
  ...
  maven { url 'https://jitpack.io' }
 }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.iceboy1369:ArcRatingBar:1.2'
}

Step 3. Use like this in xml layout...

<ir.icegroup.curvedratingbar.RatingBar
 android:id="@+id/ratingBar"
 android:layout_width="80dp"
 android:layout_height="80dp"
 app:star_stroke_color="@color/colorPrimary"
 app:star_back_color="@color/colorAccent"
 app:star="3" />

Step 4. Set value...

RatingBar ratingBar = findViewById(R.id.ratingBar);
ratingBar.setStar(2);