title: Edittext as spinner
body: <p>I have a <code>editext</code> which I would like to show as drop down. SO for that I have <code>background.xml</code> file:</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&gt;
      &lt;layer-list&gt;
        &lt;item&gt;
          &lt;shape&gt;
            &lt;solid android:color="#ffffff" /&gt;
            &lt;stroke android:width="1dp" android:color="#000000" /&gt;
            &lt;padding android:bottom="3dp" android:left="3dp" android:right="3dp" android:top="3dp" /&gt;
          &lt;/shape&gt;
        &lt;/item&gt;
        &lt;item&gt;
          &lt;bitmap android:gravity="right" android:src="@drawable/ic_arrow_drop_down" /&gt;
        &lt;/item&gt;
      &lt;/layer-list&gt;
    &lt;/item&gt;
  
  &lt;/selector&gt;
  </code></pre>
  
  <p>And added that as background for my edittext. This is what I get:
  <a href="https://i.stack.imgur.com/eG2r6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eG2r6.jpg" alt="enter image description here"></a></p>
  
  <p>As you can see there is slight gap between the image and editext border. I would like to make my edittext like this:
  <a href="https://i.stack.imgur.com/e8ych.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e8ych.jpg" alt="enter image description here"></a></p>
  
  <p>How can I achieve this? </p>