I am trying to customize each star of a RatingBar
to look differently.
As I look at its source code RatingBar or its super classes AbsSeekBar / ProgressBar, I was unable to identify such option, it can only provide a progress / secondaryProgress and background for the entire View. The closest thing would be using thumbDrawable, but its utility is totally different (for indeterminate SeekBar
).
Is there any option besides doing a totally custom View to replicate such functionality?
Here is a picture with a RatingBar I am trying to create:
I have to mention that each star (last selected star), would have a different "face", and there would always be exactly 5 stars (numStars
property). Any ideas are much appreciated!
Have a look at this library starBar by badoo having one to ten stars with different color images like red orange yellow green u can change the images in resource to get your choice of bar. Also this link would be helpful.