[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Romain Guy
Hi, ListView is a virtualized component, it displays only as many items as it needs, which is why you cannot put it in inside a ScrollView. The only way to make it work is to give a fixed height to the ListView yourself. This is however a very bad idea to put a scrollable widget inside a

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Burgess
So essentially multiple ListViews on a single screen are a pretty big no-no. Fair enough, I'll try something else. Thanks for the response. On Thu, Nov 20, 2008 at 3:01 PM, Romain Guy [EMAIL PROTECTED] wrote: Hi, ListView is a virtualized component, it displays only as many items as it

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Romain Guy
You can put multiple ListView on the same screen if they all fit together on screen. But I would find that UI design questionable :) On Thu, Nov 20, 2008 at 12:05 PM, Andrew Burgess [EMAIL PROTECTED] wrote: So essentially multiple ListViews on a single screen are a pretty big no-no. Fair

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Andrew Stadler
I think that the point Romain is making is that scrolling things (be they ListView or Scrollview) should not be *embedded* within each other. The framework was not intended to support this, as it creates all sorts of UI issues. Strictly speaking, you *could* put two independent scrolling

[android-developers] Re: Scrolling with Multiple ListViews

2008-11-20 Thread Casey Link
On Thu, Nov 20, 2008 at 2:52 PM, Andrew Burgess [EMAIL PROTECTED] wrote: Hello all, I'm completely stumped on this one. I have three different lists that need to be displayed on the screen. It's completely possible that the lists will extend past the bottom edge of the screen, so I would