Hi, 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. Here is my relative layout declaration :
<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" > ... </RelativeLayout> The ListView declaration : <ListView android:id="@+id/ArticleSnippets" android:layout_width="fill_parent" android:layout_height="wrap_content" android:divider="#fff" android:dividerHeight="0sp"> </ListView> Is there anything special to do to make the margin active inside a ListView ? Thanks in advance for any help, Lint (Dusariez JF) -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en