RelativeLayout margins inside a ListView are not displayed
<p>I'm currently using a ListView that I fill with a custom adapter with RelativeLayout's. The problem is that the margins are not displayed for the RelativeLayout. </p>

<p>Here is my relative layout declaration : </p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:id="@+id/ArticleSnippet" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:padding="6dip" 
    android:layout_marginTop="10dip" 
    android:layout_marginLeft="10dip" 
    android:layout_marginRight="10dip" 
    android:background="@drawable/background_snippet" &gt; 
    ... 
&lt;/RelativeLayout&gt;
</code></pre>

<p>The ListView declaration : </p>

<pre><code>&lt;ListView 
    android:id="@+id/ArticleSnippets" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:divider="#fff" 
    android:dividerHeight="0sp"&gt; 
&lt;/ListView&gt;
</code></pre>

<p>Is there anything special to do to make the margin active inside a ListView ? </p>

<p>Thanks in advance for any help,</p>

<p>Lint (Dusariez JF) </p>
