package com.sometrik.framework;

import android.content.Context;
import android.view.View;
import android.widget.TableLayout;

public class FWTable extends TableLayout implements NativeCommandHandler {
  
  public FWTable(Context context) {
    super(context);
  }



@Override
public void addChild(View view) {
  System.out.println("FWTable couldn't handle addChild command");
}

@Override
public void showView() {
  System.out.println("FWTable couldn't handle showView command");
}

@Override
public void addOption(int position, String text) {
}

@Override
public int getElementId() {
  return getId();
}



}

@@ -118,16 +118,48 @@
 eLayout;
+%0Aimport android.widget.TableRow;
 %0A%0Apublic
@@ -230,16 +230,38 @@
 er %7B%0A  %0A
+  Context context;%0A  %0A
   public
@@ -308,16 +308,129 @@
 ntext);%0A
+    this.context = context;%0A  %7D%0A  %0A  private void addRow()%7B%0A    TableRow row = new TableRow(context);%0A    //TODO%0A
   %7D%0A%0A%0A%0A@
@@ -468,24 +468,36 @@
 iew view) %7B%0A
+  addRow();%0A
   System.out

Add addRow function