FileDocCategorySizeDatePackage
LaunchpadTabActivity.javaAPI DocAndroid 1.5 API1345Wed May 06 22:42:02 BST 2009com.android.unit_tests.activity

LaunchpadTabActivity

public class LaunchpadTabActivity extends android.app.TabActivity

Fields Summary
Constructors Summary
public LaunchpadTabActivity()

    
Methods Summary
public voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        
        Intent tabIntent = new Intent(getIntent());
        tabIntent.setComponent((ComponentName)tabIntent.getParcelableExtra("tab"));
        
        TabHost th = getTabHost();
        TabHost.TabSpec ts = th.newTabSpec("1");
        ts.setIndicator("One");
        ts.setContent(tabIntent);
        th.addTab(ts);