I used this:
<ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/lists_header" android:layout_marginLeft="6dip" android:layout_marginRight="6dip" android:divider="@drawable/list_divider" android:dividerHeight="2dip" android:cacheColorHint="@color/shopper_background" android:background="@drawable/paper_frame" />
Where paper_frame is portable 9.patch.
This provides a (stretched to fill ListView area) fixed background image that doesn't scroll along with the list, and may be what you are trying to do.
I want the image to stretch as the height of the list (i.e. the top and / or bottom can be on the screen if the list is long), and I'm looking for how to do this.
source share