FileDocCategorySizeDatePackage
LaunchpadTabActivity.javaAPI DocAndroid 5.1 API1334Thu Mar 12 22:22:12 GMT 2015android.app.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);