Michael,

First, sorry, I accidentally removed your follow-on post to this that
noted that you'd researched this issue and found use of a ListView
inside a ScrollView to not be advisable.

Your research is correct though, you can't/shouldn't do this. Romain
may respond and say that there is a way to do this, but in no way
*should* you do this. Both types of view interpret interaction from
the user as scrolling and its somewhere between undefined and ill-
defined as to which view should scroll when and by how much.

Cheers,
Justin
Android Team @ Google

On Jul 1, 10:52 am, Michael J <[email protected]> wrote:
> I've got a ScrollView containing a vertical LinearLayout.
>
> The LinearLayout contains several items, including a ListView.
>
> The problem is that I can't seem to get the ListView to be fully
> expanded.  It is being compressed to fit everything on the screen, and
> forcing me to scroll through just the list. I would prefer to be able
> to scroll the entire layout, including the ListView.
>
> I've played with the layout parameters a lot, but can't seem to get
> anything to work.
>
> Also, I'm going to put this in another thread, but thought I'd ask
> here as well.  Is there any way to force a separator at the top of a
> ListView?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to