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\"
I found that the RatingBar stretched to a maximum number of stars because it was enclosed in a Table with the attribute android:stretchColumns = "*".
android:stretchColumns = "*"
Once I took stretchCoulumns off all columns, the RatingBar displayed according to the android:numStars value
stretchCoulumns
android:numStars