I have an android rating bar in my app, and it only displays int ratings.
For example:
float ratingValue = 1.5f; myRatingBar.setRating(ratingValue);
the solution that have worked for me was setting the step size before setting the rating value :float ratingValue = 3.5f; myRatingBar.setStepSize(0.5f); myRatingBar.setRating(ratingValue);
float ratingValue = 3.5f; myRatingBar.setStepSize(0.5f); myRatingBar.setRating(ratingValue);