<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/topTable"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:stretchColumns="*">
  <View android:layout_height="2dip"
   android:background="#FF909090" />
  <TableRow>
         <!-- empty corner -->
         <TextView
             style="@style/header"
             android:text="type"
             />
         <TextView
             style="@style/header"
             android:text="일시"
             />
         <TextView
             style="@style/header"
             android:text="km"
             />
         <TextView
             style="@style/header"
             android:text="가격"
             />
         <TextView
             style="@style/header"
             android:text="평가"
             />
         <TextView
             style="@style/header"
             android:text="위치"
             />
     </TableRow>
</TableLayout>

xml은 이렇구요 액티비티에서
setContentView(R.layout.main);
이렇게 보여주는데요

액티비티에서 저 tablelayout 안에다가 tablerow를 동적으로 추가시켜 줘야 합니다.
어떻게 하면 될까요?