title: How to give spacing between rating bar stars android?
body: <p>Hi I am using custom rating bar with custom images. I need to provide space between stars. When I increase minimum height and maximum height, star image remains same.</p>
  
  <pre><code>   &lt;RelativeLayout
      android:id="@+id/RelativeLayout01"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_margin="10dp" 
      android:padding="5dp"&gt;
  
      &lt;TextView
          android:id="@+id/allreviews"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:text="Rating"
          android:layout_marginLeft="8dp"
          android:textSize="14sp" /&gt;
  
          &lt;RatingBar
          android:id="@+id/reviewallrating"
          style="@style/customRatingBar"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_marginLeft="10dp"
          android:layout_marginTop="3dp"
          android:layout_toRightOf="@+id/allreviews"
          android:isIndicator="false"
          android:numStars="5"
          android:stepSize="0.1" /&gt;
  
     &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>styles:
      
          @drawable/star_rating_bar_full
          12dip
          12dip
      </p>
  
  <pre><code>   star_rating_bar_full.xml:
  
     &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/star_ratingbar_full_empty" /&gt;
     &lt;!--     &lt;item android:id="@+android:id/secondaryProgress"
        android:drawable="@drawable/star_ratingbar_full_empty" /&gt; --&gt;
        &lt;item android:id="@+android:id/progress"
        android:drawable="@drawable/star_ratingbar_full_filled" /&gt;
        &lt;/layer-list&gt;
  
  star_ratingbar_full_empty:
  
     &lt;?xml version="1.0" encoding="utf-8"?&gt;
  
    &lt;!-- This is the rating bar drawable that is used to
     show a filled cookie. --&gt;
      &lt;selector
     xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
     &lt;item android:state_pressed="true"
    android:state_window_focused="true"
    android:drawable="@drawable/star_gray" /&gt;
  
    &lt;item android:state_focused="true"
    android:state_window_focused="true"
    android:drawable="@drawable/star_gray" /&gt;
  
   &lt;item android:state_selected="true"
    android:state_window_focused="true"
    android:drawable="@drawable/star_gray"/&gt;
  
   &lt;item android:drawable="@drawable/star_gray" /&gt;
  
   &lt;/selector&gt;
  star_ratingbar_fullfilled.xml:
  </code></pre>
  
     
  
  <p>
        </p>
  
  <pre><code>  &lt;item android:state_pressed="true"
    android:state_window_focused="true"
    android:drawable="@drawable/yellow_star" /&gt;
  
    &lt;item android:state_focused="true"
    android:state_window_focused="true"
    android:drawable="@drawable/yellow_star" /&gt;
  
    &lt;item android:state_selected="true"
    android:state_window_focused="true"
    android:drawable="@drawable/yellow_star" /&gt;
  
  &lt;item android:drawable="@drawable/yellow_star" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>I used style="?android:attr/ratingBarStyle" in styles but still output remains same.
    <img src="https://i.stack.imgur.com/ZcHov.png" alt="enter image description here"></p>