| addView ( child ) | ใช้เพิ่ม Object View เข้าไปใน Object TableLayout |
|---|
return type:addView ( View child )
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 ); table_layout.addView ( new Button ( this ) ); setContentView ( table_layout ); } }