RatingView
Simple android widget that can replace standard inconvenient RatingBar in your app.
Install / Use
/learn @Ornolfr/RatingViewREADME
RatingView
Simple android widget that can replace standard inconvenient RatingBar in your app.
##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
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
