method:TableRow.LayoutParams ( int width, int height )
return type:TableRow.LayoutParams
content:ใช้สร้าง Object TableRow.LayoutParams
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
TableLayout layout = new TableLayout ( this );
TableRow row = new TableRow ( this );
TableRow.LayoutParams params = new TableRow.LayoutParams ( 150, 30 );
row.addView ( new Button ( this ), params );
row.addView ( new Button ( this ), params );
layout.addView ( row );
layout.setStretchAllColumns ( true );
setContentView ( layout );
}
}