title: Space between Dots in a TabLayout
body: <p>I have the following Fragment with a TabLayout with 2 Tabs. Each Tab is filled with one dot to represent the page inside the viewpager.</p>
  
  <p>How can I set space / padding / margin between the 2 Tabs with the dots inside? </p>
  
  <p>I tried several things out, but nothing works for me. </p>
  
  <p>Thanks for your help :)</p>
  
  <p>fragment.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          xmlns:tools="http://schemas.android.com/tools"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          &gt;
  
         &lt;androidx.viewpager.widget.ViewPager
             android:layout_height="match_parent"
             android:layout_width="match_parent"
             android:id="@+id/pager"
           /&gt;
  
         &lt;com.google.android.material.tabs.TabLayout
             android:id="@+id/tabDots"
             android:layout_alignParentBottom="true"
             android:layout_width="match_parent"
             android:layout_height="7.5dp"
             app:tabBackground="@drawable/dot_selector"
             app:tabGravity="center"
             app:tabIndicatorHeight="0dp"
             android:layout_marginBottom="20dp"
             app:tabMaxWidth="7.5dp"
             /&gt;
  
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>dot_selector.xml :</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;item android:drawable="@drawable/dot_selected"
          android:state_selected="true"/&gt;
  
      &lt;item android:drawable="@drawable/dot_default" /&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>dot_selected.xml :</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
      android:innerRadius="0dp"
      android:shape="rectangle"
      android:useLevel="false"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid android:color="@color/colorBlack"/&gt;
      &lt;corners android:radius="1000dp"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>dot_default.xml  : </p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
      android:innerRadius="0dp"
      android:shape="rectangle"
      android:useLevel="false"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid android:color="@color/colorGrey"/&gt;
      &lt;corners android:radius="1000dp"/&gt;
  &lt;/shape&gt;
  </code></pre>