views:

22

answers:

1

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
@ Janusz: Thanks....
Toufique
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
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