Hey Mark, The Demo from SackOfViewsAdapter looks really nice and i think this is it what i am looking for.
But i have a layout xml file where i declarate all the widgets (yes its a lot). Do i have to put this layout file in seperate file (so for all that has to come above the review list) and then do like this: View v = LayoutInflater.from(this).inflate(your_layout_xml,......); and then add this view to the arraylist of views? (like in the SackOfViewsDemo). I also have a custom adapter for my listview (list of rows) Or how can i do this the best and easiest? :) On 19 sep, 17:57, Mark Murphy <mmur...@commonsware.com> wrote: > Wouter wrote: > > Hey, > > > I am working on a new project now and I want to use a method as above. > > But I hadn't used this anymore, because it doesnt worked for me.. > > > I have this:http://snapplr.com/tp7p > > > So i have different widgets (TextView, ImageView) and this all in a > > scrollview (because otherwise window doesnt scroll down when text goes > > under page). > > And then i have placed my listview in the scrollview? Don't know how > > else i could do it. My view has to scroll and my listview has to be > > under my other widgets as you can see on the image.. > > > What is the best way i can do this? My activity is just extending > > Activity and not ListActivity! > > Remember that a ListView does not have to have all of the same sort of > row. So, I would put it all in a ListView. > > For similar sorts of UIs, I created the SackOfViewsAdapter and MergeAdapter: > > https://www.google.com/accounts/o8/id?id=AItOawnQNC70ZHdz9I0RXR03e97k... > > They are open source and are available off of my github page: > > http://github.com/commonsguy > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Looking for Android opportunities?http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---