Tuesday, September 13, 2011

Re: [android-developers] Fill a LinearLayout with an ArrayAdapter

Please respond back to the whole group.

On Tue, Sep 13, 2011 at 4:37 PM, Isambert <guilo.guilo@gmail.com> wrote:
Le mardi 13 septembre 2011 12:30:31 UTC+2, TreKing a écrit :
On Tue, Sep 13, 2011 at 1:28 AM, Guillaume LACHAUD <guilo...@gmail.com> wrote:
My linear layout is in a scrollview

So what? A ListView scrolls.

Yes but the ListView would not be the only element in my scrollView so it is much more convenient to have a LinearLayout


Alrighty then. Well there's no need for an adapter - just add to the LinearLayout using addView(). (Assuming your layout is not going to grow indefinitely).

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

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

No comments:

Post a Comment