ListView rounded corner hidden by list item's background image in android
<p><img src="http://i.stack.imgur.com/OzHUN.png" alt="enter image description here"><img src="http://i.stack.imgur.com/tFTNU.png" alt="Using Padding..."><img src="http://i.stack.imgur.com/DsNSK.png" alt="When Screen Called">I have given border to listview .
and also give the background images in list item.
so due to list item's background image listview's border hidden.</p>

<p>listview </p>

<pre><code>&lt;ListView
        android:id="@+id/listViewsea"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_marginBottom="5dp"
        android:cacheColorHint="#0000"
        android:clipToPadding="true"
        android:scrollbars="none"
        android:listSelector="@android:color/transparent"
        android:divider="#00000000"
        android:paddingBottom="5dp"
        android:background="@drawable/cornerborder"
        &gt;
    &lt;/ListView&gt;
</code></pre>

<p>cornerborder.xml </p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle" &gt;

    &lt;stroke
        android:width="1dp"
        android:color="#457DB6" /&gt;

    &lt;gradient
        android:angle="225"
        android:endColor="#457DB6"
        android:startColor="#457DB6" /&gt;

    &lt;corners
        android:bottomLeftRadius="15dp"
        android:bottomRightRadius="15dp"
        android:topLeftRadius="15dp"
        android:topRightRadius="15dp" /&gt;

&lt;/shape&gt;
</code></pre>

<p>In listAdapter </p>

<pre><code>if(position%2 == 0)
            {
                    convertView.setBackgroundResource(R.drawable.commonrow_type_1_straight);

            }else 
            {
                                convertView.setBackgroundResource(R.drawable.commonrow_type_2_straight);

            }
</code></pre>
