title: Android/Spinner: Remove padding to the right of the arrow
body: <p>I'm using a spinner in a relative layout with a couple of other layout elements (layout-v21):</p>
  
  <p><a href="https://i.stack.imgur.com/WGlnX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/WGlnX.png" alt="My spinner"></a></p>
  
  <pre><code>&lt;Spinner
  android:id="@+id/spinner"
  android:layout_width="155dp"
  android:layout_height="34dp"
  android:layout_alignBottom="@+id/textList"
  android:layout_alignTop="@+id/textList"
  android:layout_alignParentEnd="true"
  android:layout_marginLeft="5dp"
  android:layout_marginRight="0dp"
  android:layout_toEndOf="@+id/textList"
  android:paddingRight="1dp"/&gt;
  </code></pre>
  
  <p>This sets the distance to where the parent layout ends:</p>
  
  <pre><code>android:layout_marginRight="0dp"
  android:layout_alignParentEnd="true"
  </code></pre>
  
  <p>This sets how close the choice items inside the spinner can get to the left of the arrow (right padding of the text):</p>
  
  <pre><code>android:paddingRight="1dp"
  </code></pre>
  
  <p>But is there a way to get rid of (or at least make smaller) the unnecessary space/padding that is to the <strong>right</strong> of the arrow but still within the spinner layout element (so I can then use more space on the left without changing the size of the spinner)?</p>
  
  <p>This is what I'm talking about:</p>
  
  <p><a href="https://i.stack.imgur.com/FJQ1n.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FJQ1n.png" alt="enter image description here"></a></p>
  
  <p>Edit: Here's the code for the RelativeLayout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context="com.mycompany.myapp.MainActivity"
  android:backgroundTint="#000000"
  android:focusableInTouchMode="true"&gt;
  </code></pre>