How to create a background with Image, Rounded Corners without borders
<p>I'm trying to  create a background for my LinearLayout that has an Image with rounded corners. I've seen many examples how to do that but not exactly what I want. In most of cases I've seen people using padding to create it, but when I do this it draws a kind of border, and I don't want any border, just the rounded corner</p>

<pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt; 
&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;item &gt;
    &lt;shape&gt;
            &lt;corners android:topLeftRadius="20dp" android:topRightRadius="20dp"/&gt;
    &lt;/shape&gt; 
    &lt;/item&gt;
     &lt;item &gt;
        &lt;bitmap android:src="@drawable/header"/&gt;
    &lt;/item&gt;
&lt;/layer-list&gt;
</code></pre>
