I think you're right, it could get messy.

Having said that, I think there is a good case for creating a custom
widget like LinearLayout2ListView (i.e. extends ListView and takes a
linear layout resource as an argument).

A man of your talents Mark, could polish that off in about half an
hour :)

On Feb 26, 2:44 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> westmeadboy wrote:
> > ok, ListView it is!
>
> > I think the thing that bothers me, is I would like to define the whole
> > layout in XML (as if I were using a LinearLayout). I wonder if its
> > still possible (or recommended) to do that. Inflate the layout and
> > then read off the children into the Adapter...??
>
> You can make the rows and stuff be individual XML files. I would be
> nervous about trying to combine them all into one and reparent widgets
> on the fly.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Training in US: 26-30 April 2010:http://onlc.com

-- 
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

Reply via email to