开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜