Tuesday, December 15, 2009

Re: [android-developers] Re: Using Adapters

Ben Griffiths wrote:
> Would this be a better way of doing it?

Not sure. I haven't tried that specific technique. I went the
ListView/Adapter route, because I needed clickable rows. If you just
want a scrollable list of EditText widgets (and some other stuff), you
may want to consider just the LinearLayout in the ScrollView.

> Could I still 'inject' xml as
> it were, this sound a bit more of programmatic UI?

Yes, you could inflate a new "row" and add it as a child of your
LinearLayout via one of the flavors of addView().

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android_ from Apress Now Available!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate