title: Rating bar with custom style shows bad images
body: <p>I am using below icons for my custom rating bar:</p>
  
  <p><img src="https://i.stack.imgur.com/sIEjb.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/P4vSt.png" alt="enter image description here"></p>
  
  <p>and use below codes:</p>
  
  <p>my custom drawable:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:id="@+android:id/background"
            android:drawable="@drawable/ic_list_item_wstar" /&gt;
      &lt;item android:id="@+android:id/secondaryProgress"
            android:drawable="@drawable/ic_list_item_wstar" /&gt;
      &lt;item android:id="@+android:id/progress"
            android:drawable="@drawable/ic_list_item_ystar" /&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>my custom style:</p>
  
  <pre><code>   &lt;style name="YellowRatingBar" parent="@android:style/Widget.RatingBar"&gt;
      &lt;item name="android:progressDrawable"&gt;@drawable/ic_ratingbar_yellow&lt;/item&gt;
      &lt;item name="android:minHeight"&gt;22dip&lt;/item&gt;
      &lt;item name="android:maxHeight"&gt;22dip&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>my rating bar code:</p>
  
  <pre><code>    &lt;RatingBar
      android:id="@+id/ratingBar1"
      style="@style/YellowRatingBar"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
          android:isIndicator="false"
      android:rating="3.7" /&gt;
  </code></pre>
  
  <p>but it has not a good result and my result looks like below:</p>
  
  <p><img src="https://i.stack.imgur.com/r7oNE.png" alt="enter image description here"></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>the size of icons is 17X17pixel. I set min and max size to <code>17dp</code> and the black lines go smaller and finally when I set it to <code>11dp</code> the black lines disappear. </p>
  
  <p>why I need to set the min and max size to less than the icon actual size??!!</p>