method:clearAllTabs ( )
return type:void
content:ใช้ลบ tab ทั้งหมดออกจาก Object TabHost
example:public class AndroidBamboo extends Activity
{
public void onCreate( Bundle savedInstanceState )
{
super.onCreate ( savedInstanceState );
TabHost tab_host = new TabHost ( this );
tab_host.setup();
TabHost.TabSpec tab_spec = tab_host.newTabSpec ( "tag_one" );
Button button = new Button ( this );
tab_spec.setContent ( button.getId ( ) );
tab_spec.setIndicator( "TestButton" );
tab_host.addTab ( tab_spec );
tab_host.clearAllTabs ( );
setContentView ( tab_host );
}
}