This basically involves writing UI code programatically. See
http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/ScrollView2.html
for an example of adding multiple TextView and Button to a ScrollView
in a for loop.

On Aug 11, 2:12 pm, Honest <honestsucc...@gmail.com> wrote:
> Thanks pskink for you reply. But can you tell me how can i use
> ListView or ScroolView. My basic requirement is that i want to display
> more then one String and user should be able to select multiple item
> from them. Please advice me and if possible give me code snippt. I am
> doing this silly things from last two days. Sometimes easy things take
> time.
>
> On Aug 11, 10:58 pm, skink <psk...@gmail.com> wrote:
>
>
>
> > On Aug 11, 4:54 pm, Jack Ha <jack...@t-mobile.com> wrote:
>
> > > You can create an empty LinearLayout and call its addView() function
> > > to add the checkboxes dynamically in your code.
>
> > if Honest doesn't know how many check boxes to add chanses are there
> > may be too many to fit them all in physical screen.
>
> > so maybe the better idea is to use ScrollView or ListView
>
> > pskink
--~--~---------~--~----~------------~-------~--~----~
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