Closed ericntd closed 7 years ago
Thanks for the bug report ! I'll look into it.
@ericn37 sorry for the delay. I think the problem comes from the fact that the rating is calculated without subtracting the separation between stars.. It seems to work just fine for larger stars:
@ericn37 hopefully solved. There was a bug in the drawing method which could have caused wrong display of rating due to a wrong float math. Check it out in next version (0.14) and let me know if you find anything suspicious :)
How can I set a float rating like 3.5, 2.3, 4.7?
First of all, your library is the best out there, it really stands out from the competition!
I'm sure I'm missing something very obvious here :) I'm referring to your demo app.
I have the following in fragment_size_of_stars.xml:
However the result is not 3.3 at all (blue stars; the second rating bar):![device-2016-11-29-002349](https://cloud.githubusercontent.com/assets/19919208/20676293/38dcad2a-b5ca-11e6-8b4a-6a4dffdaea1f.png)