[EMAIL PROTECTED] wrote:
> Is it possible to add views to an existing layout at runtime?

Just call addView() on the layout to add the view. The addView() 
implementations are on ViewGroup -- most likely for a TableLayout 
parent, you'll want to use the addView() that takes a LayoutParams-type 
object as the second parameter, so you can specify how the view should 
be poured into the parent.

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

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to