Sukitha Udugamasooriya wrote:
> Hi,
> 
> I need to append a new TextView s to the current View whenever a user
> hits on a button.
> 
> ie: 5 clicks --> the display should have 5 text fields
> 
> How do i do this?

Call addView() on the parent container (e.g., LinearLayout) with the
TextView you create through the Java constructor.

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

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

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