I\'m trying to create a TableLayout programatically. It just won\'t work. The same layout in an xml file works though. This is what I have:
public class MyTa
A good solution is to inflate layout files for each instance of row you want to create. See this post : How to duplicate Views to populate lists and tables?