As I discussed in my previous post creating Dynamic TableLayout in Android . Here an issue arises in Eclipse while using TableLayout with layoutParams . Eclipse will wrongly add the following import
In such cases even after executing the program without any errors it wont show any table or any data. It will only show blank display. So inorder to overcome the issue just replace with the following import.
After replacing run the project and view the output.
(Wasted several hours because of this silly issue while creating dynamic table in android. Thanks to stackoverflow)