void init()
{
intcolumnwidth1 = int_scr_wd*55;
intcolumnwidth1 = intcolumnwidth1/100;
for (int i = 0; i < strarr.length-1; i++)
{
strinarr = fun1.sp
look this code to remove row in table
private List<View> listViewRow;
if (listViewRow.size() > 0) {
for (View view : listViewRow) {
table.removeView(view);
}
}
for (int i = 0; i < myList.size(); i++) {
row.addView((new TextView(context).setText("Teste")), 0);
row.addView((new TextView(context).setText("Teste")), 1);
row.addView((new TextView(context).setText("Teste")), 2);
listViewRow.add(row);
table.addView(row, 1);
}
I use this:
tl.removeView(tl.getChildAt(index));