I am following the standard example of how to add a RatingBar. To control the number of stars I tried to use android:numStars=\"5\". The problem is
RatingBar
android:numStars=\"5\"
Even i was facing the issue @Roland , I had included one more attribute called
android:layout_alignParentRight="true"
in my RatingBar declaration in XML. This attribute prevented from setting of the stars required and setting up the NumStars
NumStars
Keep posted on the issues you come across !