Closing a tab in android
I want to implement opening and closing of tabs in android. I can successfully open a tab, but the problem is how to close the tab by simply clicking on the icon of the image on the top of the tab (as with m开发者_Go百科ozilla or IE).
I might not understand your use case correct but I had the use case that I wanted to refresh the tab content when the user 'reselects' a current visible tab. The solution is described here. Maybe it fit's for you and instead of refresh the content you can simply close the tab.
精彩评论