How to make a TableLayout from XML using programmable way ?

Posted by user164589 on Stack Overflow See other posts from Stack Overflow or by user164589
Published on 2010-04-08T01:28:02Z Indexed on 2010/04/08 1:33 UTC
Read the original article Hit count: 435

Filed under:
|

hi guys,

I am trying to add TableLayout to the LinearLayout from resourse(xml) using programmable way.

The added TableLayout count is dynamic. It would be between 1 - 10. I think it is better way to make it from resource xml. Because design doesn't break.

How to make it ?

Actually I don't know how to create a new instance from the XML.

Please help. guys.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about android

Related posts about layout