I follow the standard examples of adding RatingBar . To control the number of stars, I tried using android:numStars="5" . The problem is that the number of stars does nothing at all. In the portrait manner, I get 6 stars, and when I flip the phone, I get about 10 stars. I tried to set the number of stars in my Activity ( myBar.setNumStars(5) ), which loads the xml, but also was not successful with this option.
So my question is: how to define your layout so that it displays only five stars? Install numStars doesn't seem to work.
Thanks in advance, Roland
android xml layout
Roland 04 Oct '10 at 19:50 2010-10-04 19:50
source share