SkillAgentSearch skills...

RatingView

Simple android widget that can replace standard inconvenient RatingBar in your app.

Install / Use

/learn @Ornolfr/RatingView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RatingView

Android Arsenal

Simple android widget that can replace standard inconvenient RatingBar in your app.

Screenshot ##Description The default Android RatingBar widget hardly can satisfy developers' needs. It's a pain to customize it at all. This simple view can take a huge advantage of setting and scaling drawables for rating view easily. ##Usage You can download this library with the following line in your app module build.gradle:

compile 'com.github.ornolfr:rating-view:0.1.2@aar'

##Example Declare RatingView in your XML with app attributes:

<com.github.ornolfr.ratingview.RatingView
	android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    app:drawable_empty="@drawable/ic_star_empty"
    app:drawable_filled="@drawable/ic_star_filled"
    app:drawable_half="@drawable/ic_star_half"
    app:drawable_margin="4dp"
    app:drawable_size="24dp"
    app:is_indicator="false"
    app:max_count="5"
    app:rating="3.5" />

And use it through RatingView instance in your code. Goog luck!

Related Skills

View on GitHub
GitHub Stars60
CategoryDevelopment
Updated2y ago
Forks16

Languages

Java

Security Score

80/100

Audited on Apr 6, 2024

No findings