On Apr 25, 10:55 pm, Jose Gomez <[email protected]> wrote: > Hello all, > > I have the following layout, which gives me a header, a list view and a > footer it looks good but when the listview's contents are greater than > wheere the bottom textview start its basically overlays the list on top of > it. I was the listview to not overlay on top of the footer Any help is > greatly appreaciated >
Hi, I had the same problem but the solution was found in List7 example from ApiDemos. Below is the XML snippet: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingLeft="8dip" android:paddingRight="8dip"> <ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1" android:drawSelectorOnTop="false"/> <TextView android:id="@+id/phone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="@drawable/blue"/> </LinearLayout> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

