Hello!

I currently have a TabWidget in the Layout of my activity. I add
several tabs to it by using the following code:

TabHost tabs=(TabHost)findViewById(R.id.tabhost);
tabs.setup();
TabHost.TabSpec spec=tabs.newTabSpec("tab1");
spec.setContent(R.id.tabSearch);
spec.setIndicator("Search");
tabs.addTab(spec);

The tabSearch element contains a button. I want to exchange the
complete content of the tab with all its widgets. How can I achieve
this?

Thanks in advance
Patrick

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to