title: Rating bar showing only half stars instead of full stars
body: <p>I'm working on an app that needs to create a non editable small style rating bar with 4 stars dynamically.</p>
  
  <p>When I call <code>setRating(4)</code> it shows 4 stars without any problem.
  But when I call <code>setRating(3)</code> it shows 3 and half stars.
  <code>setRating(2)</code> shows 2 stars correctly,
  but <code>setrating(1)</code> shows 1 and half stars.</p>
  
  <p>When I use a normal rating bar in another activity it works fine, but when I use the small style non editable rating bar it doesn't work properly.</p>
  
  <p>Does this have anything to do with the api level or small style non editable rating bar?</p>
  
  <p>Initialization is done like this:</p>
  
  <pre><code>RatingBar ioRatingBar = new RatingBar(this,null,android.R.attr.ratingBarStyleSmall);
  ioRatingBar.setNumStars(4);
  
  ioRatingBar.setRating(3);
  </code></pre>