Use  scroll view as the root element  .. and use a composite view  i.e
 extend  the Linear Layout class and  provide  your implementation of the
 Header and  the checkboxes which you want ... and  every time  add that
 to your scroll view when ever  the button is clicked.

hope  this  pointer helps ....

On Sun, Jan 22, 2012 at 8:49 PM, Rachna Sharma <[email protected]>wrote:

> Hi Group,
>
> I have UI requirement shown below:
>
> |-------------------------------|
> |Header-1                  |
> |     Checkbox1[]        |
> |     Checkbox2[]        |
> |     Checkbox3[]        |
> |-------------------------------|
> |Header-2                  |
> |     Checkbox1 []       |
> |     Checkbox2 []       |
> |     Checkbox3 []       |
> and so on clicking below button.
> BUTTON  -> clicking on this button on bottom will create header and 3
> checkbox everytime. How can i achieve this? This is very urgent. I can
> not take these in XML laypout as these need to be added dynamically on
> runtime.
>
> If possible, Please provide any sample code and guide me.
>
> Thanks,
> Rachana
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to