Thanks guys. This does work provided the ListView and the header View are within the same parent ViewGroup.
I would, however, like to request that the ListView be enhanced with two new methods: void addHeaderView(View v, Object data, boolean isSelectable, boolean scrollsWithContent) void addFooterView(View v, Object data, boolean isSelectable, boolean scrollsWithContent) This would allow a dev to leave management of the headers and footers entirely with the ListView and provide the ability to have "sticky" headers and footers that are owned by the ListView. Regards, - Mike On Jun 24, 5:08 pm, Romain Guy <romain...@google.com> wrote: > Just put theheaderoutside of theListView:) > > On Wed, Jun 24, 2009 at 3:44 PM, Mike<michaeldouglaskra...@gmail.com> wrote: > > > There must be a way to do this. How can you tell aListViewthat has > > aheaderto not scroll it when the user scrolls the contents? I want > > it to stay in a "stuck" position so that the user can always see what > > column the content applies to. > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---