> Wouter wrote:
> > I now have another problem.
> > i now have multiple listviews in my listactivity.
> > When i reach the bottom of the screen one of the lists put scrollbars
> > in the listview.
> > But i cant scroll the whole activity! I cannot scroll when i have a
> > long list.How can i fix this?
> > putting the listviews in a scrollview?
>
> I don't think you can. I am assuming from your problem that you are
> trying to have one ListView stacked above the other ListView.

Yes I have, i have now 2 listviews above each other..

> If so, I would strongly encourage you to consider:
> -- Putting all the items in one ListView, perhaps with some sort of
> visual separator, as described by Jeff Sharkey (see below URL) or my
> Advanced Android book
>
> http://www.jsharkey.org/blog/2008/08/18/separating-lists-with-headers...

I have multiple lists because every list uses another database adapter
for getting data from a database. And also the onItemClick must be
different for every list!
Would i be able to still do this when I make one listview?
>
> -- Putting the lists side-by-side rather than stacked

What do you mean with this?
> -- Switching one to a Spinner
>
> -- Using tabs, ViewFlipper, or some other means to have the lists on
> separate "screens"

I will try now to put it in a viewflipper!

> -- Using separate activities, one per list
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~---------~--~----~------------~-------~--~----~
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