Shihab Uddin
Shihab Uddin

Reputation: 6931

open multiple tabs within one webview

I want to open multiple tabs within one webview. I can manage to load one url at a time. I am understanding that i have to customized my webview to do so. Is it possible, like as my below picture ?

Any suggestion , tutorial or guideline is appreciated. enter image description here

Upvotes: 2

Views: 2736

Answers (1)

Zsombor Erdődy-Nagy
Zsombor Erdődy-Nagy

Reputation: 16914

Tabs are simply not part of WebView, you need to develop such features around it yourself.

E.g. you could use a TabLayout to implement the tabs, and update the state of the WebView according to the selected tab. You can easily find tutorials all over the place detailing tabs.

Upvotes: 2

Related Questions