How can change my TabHost ?
Posted
by enricozhang
on Stack Overflow
See other posts from Stack Overflow
or by enricozhang
Published on 2010-06-13T11:05:41Z
Indexed on
2010/06/13
11:12 UTC
Read the original article
Hit count: 337
I have a tabhost,
e.g:
final TabHost tabs = getTabHost();
tabs.setup();
TabHost.TabSpec spec = null;
spec = tabs.newTabSpec("search");
spec.setContent(new Intent(this, Search.class));
spec.setIndicator("search");
tabs.addTab(spec);
in this tabhost is a Intent,and in the activity must change to other activity,
question is I hope the other actitivy at same tabhost switch?
Can do this?
© Stack Overflow or respective owner