In a TabHost widget, I can create a new tab with its content (Intent) using TabHost.addTab(TabHost.TabSpec tabSpec).
We can remove all tabs we created by calling clearAllTabs(), but I can't figure out how to remove the tab or just replace the content (Intent) inside the tab with new Intent.
so what I need something like removeTab(int index)
removeTab(int index)
Much Easier:
tabHost.getTabWidget().removeView(tabHost.getTabWidget().getChildTabViewAt(3));
1.4m articles
1.4m replys
5 comments
57.0k users