Skip to content

LeoDroidCoder/SmileRatingBar

Repository files navigation

SmileRatingBar

Pretty rating bar for android (written with Kotlin)

Customization:

Set max rating app:maxRating="5.0"

Set min rating: app:minRating="0"

Set default rating: app:defaultRating="5

Set rating step: app:ratingStep="1"

Set board (aka face) color app:boardColor="@color/white"

Smile color app:smileColor="@color/colorPrimary"

Set smile stroke width app:smileStrokeWidth="6dp"

Set shadow color: app:shadowColor="@color/gray_light"

Set shadow width: app:shadowWidth="20dp"

Set current rating color: app:currentRatingColor="@color/colorPrimary"

Set max rating color: app:maxRatingColor="@color/colorPrimary"

Set hint image (on the right) app:hintImage="@drawable/ic_rating_hint"

Corresponding adjustments can be made dynamically

About

Smile rating bar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages