Home
last modified time | relevance | path

Searched refs:tabHost (Results 1 – 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/view/
DTabs1.java36 TabHost tabHost = getTabHost(); in onCreate() local
38 LayoutInflater.from(this).inflate(R.layout.tabs1, tabHost.getTabContentView(), true); in onCreate()
40 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
43 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
46 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs3.java33 final TabHost tabHost = getTabHost(); in onCreate() local
35 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
39 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
45 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs2.java39 final TabHost tabHost = getTabHost(); in onCreate() local
40 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
43 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
46 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs6.java38 final TabHost tabHost = getTabHost(); in onCreate() local
39 tabHost.addTab(tabHost.newTabSpec("tab1") in onCreate()
42 tabHost.addTab(tabHost.newTabSpec("tab2") in onCreate()
45 tabHost.addTab(tabHost.newTabSpec("tab3") in onCreate()
DTabs5.java38 final TabHost tabHost = getTabHost(); in onCreate() local
42 tabHost.addTab(tabHost.newTabSpec(name) in onCreate()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java263 TabHost tabHost = (TabHost) findViewById(R.id.tabHost); in onCreate() local
264 tabHost.setup(); in onCreate()
266 TabSpec spec1 = tabHost.newTabSpec(tabName); in onCreate()
271 TabSpec spec2 = tabHost.newTabSpec(tabName); in onCreate()
276 TabSpec spec3 = tabHost.newTabSpec(tabName); in onCreate()
280 tabHost.addTab(spec1); in onCreate()
281 tabHost.addTab(spec2); in onCreate()
282 tabHost.addTab(spec3); in onCreate()
283 tabHost.setOnTabChangedListener(new OnTabChangeListener() { in onCreate()