Pages

Friday, June 10, 2011

Insert TableRows dynamically

At the moment I'm going to despair of dynamically inserting TableRows to a TableLayot. I'm developing an App for Android and want to insert 1 or X TableRows to a TableLayout (that is fixed in the layout XML file), but it won't work.
I always get a blank Activity and my TableRows seem to be lost in the Nirvana. But if I add them manually to the layout file, they appear and everything is fine.

Does anyone of you have some tips how to fix this problem?

No comments:

Post a Comment