i apologize for this question but i am having problems understanding the RatingBar attributes.
Basically, I am trying to create a rating bar with a total of 7 stars and it “jumps” by 0.5 stars each time.
The below is what i currently have. but it seems to be showing me 1/4 stars and 3/4 stars but never a proper half star.
<RatingBar
android:id="@+id/rating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rating="3.5"
android:numStars="7"
android:stepSize="0.5" />
what is the difference between rating and numStars? I just need a simple denomination of 7.
okay so apparently my current values for attributes are correct. the reason why i am seeing 1/4 or 3/4 stars is because the width of my screen wasnt long enough. when i changed to landscape it worked nicely.