title: How to add space between custom spinner items?
body: <p>I've followed this tutorial <a href="http://www.edureka.co/blog/custom-spinner-in-android/" rel="nofollow noreferrer">Android Widgets: Custom Spinner in Android</a> and made a custom <code>Spinner</code> that has an image and a text view as items, but for some reason there is no space between the items.</p>
  
  <p>At the moment it looks like that when it's not clicked (which is fine):</p>
  
  <p><a href="https://i.stack.imgur.com/zSYnu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zSYnu.png" alt="Custom spinner not clicked"></a></p>
  
  <p>And when I click it, it looks like that:</p>
  
  <p><a href="https://i.stack.imgur.com/SeDAv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SeDAv.png" alt="Custom Spinner clicked"></a></p>
  
  <p>While the default one has plenty of space between the items:</p>
  
  <p><a href="https://i.stack.imgur.com/zBxas.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zBxas.png" alt="Default spinner clicked"></a></p>
  
  <p>This is the <code>xml</code> code for the spinner:</p>
  
  <pre><code>&lt;Spinner
      android:id="@+id/languageSpinner"
      style="@android:style/Widget.Holo.Light.Spinner"
      android:layout_width="110dp"
      android:layout_height="40dp"
      android:layout_marginStart="30dp"
      android:prompt="@string/select"
      android:spinnerMode="dropdown"/&gt;
  </code></pre>
  
  <p>And this is the xml for the custom row layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;ImageView
          android:id="@+id/icon"
          android:layout_width="wrap_content"
          android:layout_gravity="center_vertical"
          android:layout_height="wrap_content" /&gt;
  
      &lt;TextView
          android:id="@+id/language"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:textSize="18sp"
          android:layout_gravity="center_vertical"
          android:textColor="@color/black"
          android:layout_marginStart="10dp"
          android:layout_marginBottom="2dp"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Does anybody have an idea what I do wrong?</p>
  
  <p><strong>EDIT</strong>: After some of the suggestions, the space between the items is added but then the item that is selected in the spinner cannot be seen properly, I am attaching an image:</p>
  
  <p><a href="https://i.stack.imgur.com/R7SmS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R7SmS.png" alt="Custom spinner with padding 10 on the layout"></a></p>