title: Custom RatingBar
body: <p>I stack with very annoing problem, I want to add custom drawable to my RatingBar widget, I followed <a href="https://stackoverflow.com/questions/5800657/how-to-create-custom-ratings-bar-in-android">some</a> <a href="https://stackoverflow.com/questions/35221909/cant-change-the-size-of-custom-ratingbar">examples</a> how to do it:</p>
  
  <p>1) I created my own style, set <code>minHeight=16dip</code> and <code>maxHeight=16dip</code></p>
  
  <p>2) Added 16px*16px star drawables.</p>
  
  <p>It changed icon, but the problem is that my stars looks blur, i.e low resolution. And I know why, bcs drawables are 16*16px, but I cant make their qualitity better (for example 76px*76px), bcs Android won't scale a rating bar icons. When you decrease the minHeight and maxHeight android will always crop the icons. Even if I dont use min and max heght result is the same - my big drawables (I tried to add drawable in hdpi,xhdpi folders) just crop. </p>
  
  <p>Is there a way how to increase resolution of my drawables in custom RatingBar? Thx.</p>
  
  <p>P.S. here is my code just in case:</p>
  
  <p>Style:</p>
  
  <pre><code>&lt;style name="CustomRatingBar" parent="@android:style/Widget.RatingBar"&gt;
      &lt;item name="android:progressDrawable"&gt;@drawable/rating_bar_drawable&lt;/item&gt;
      &lt;item name="android:minHeight"&gt;16dip&lt;/item&gt;
      &lt;item name="android:maxHeight"&gt;16dip&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>rating_bar_drawable.xml:</p>
  
  <pre><code>&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:id="@android:id/background" android:drawable="@drawable/car_washes_star_empty" /&gt;
  &lt;item android:id="@android:id/secondaryProgress" android:drawable="@drawable/car_washes_star_fill" /&gt;
  &lt;item android:id="@android:id/progress" android:drawable="@drawable/car_washes_star_fill" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>main.xml:</p>
  
  <pre><code> &lt;RatingBar
              android:id="@+id/car_washes_list_item_rating_bar"
              style="@style/CustomRatingBar"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_marginEnd="@dimen/car_washes_item_rating_bar_margin_right"
              android:layout_marginRight="@dimen/car_washes_item_rating_bar_margin_right"
              android:numStars="5"/&gt;
  </code></pre>