return type:addView ( View child, int index, ViewGroup.LayoutParams params )
method:void
content:ใช้เพิ่ม Object View เข้าไปใน Object TableLayout ณ ตำแหน่งที่กำหนด
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
TableLayout table_layout = new TableLayout ( this );
TableLayout.LayoutParams params = new TableLayout.LayoutParams ( 200, 30 );
table_layout.addView ( new Button ( this ), 0, params );
setContentView ( table_layout );
}
}