What should I do to remove only the selected tab in android? Is there anything like remove tab or anything that helps me to remove a tab in the TabWidget class or in another class of the Android API?
A:
The only way I know is to use myTabHost.clearAllTabs()
and than add the wanted tabs again
WarrenFaith
2010-09-27 10:36:57
@ Janusz: Thanks....
Toufique
2010-09-28 15:17:31
Actually I have made an imagebutton in a tab.Now if a user clicks this,that selected tabspec has to be deleted....Now what should I do to remove only that specific tabspace keeping other tabs as those were...????
Toufique
2010-09-28 15:20:20
For example,let there are two tabs. One is "Home tab" and another is for About.In about tab there is a button named "Close". If user clicks it then Tabhost will contain only "Hometab"....I think you've got my point....
Toufique
2010-09-28 19:46:00