Spacing between the stars of a rating bar?
<p>ho can I set a spacing beween the stars? Thats my ratingbar:</p>

<pre><code>ratingBar = (RatingBar) inflater.inflate(R.layout.ratingbar, null);
ratingBar.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
</code></pre>

<p>The layout:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RatingBar xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/myStyle" android:layout_alignParentRight="true"
    android:layout_height="19dp" android:layout_width="wrap_content"
    android:numStars="5"&gt;
&lt;/RatingBar&gt;
</code></pre>

<p>The style:</p>

<pre><code> &lt;style name="myStyle" parent="@android:style/Widget.RatingBar"&gt;
    &lt;item name="android:progressDrawable"&gt;@drawable/android_r2_ratingstar_yellow&lt;/item&gt;
    &lt;item name="android:indeterminateDrawable"&gt;@drawable/android_r2_ratingstar_grey&lt;/item&gt;
 &lt;/style&gt;
</code></pre>

<p>Thanks, cheers</p>
