Reputation: 1
I'm making an android browser app (with webviews), but am facing a problem, I don't exactly know how to make tabs for new windows... Is it with fragments ? Thank you so much. Sam Panagrosso
Upvotes: 0
Views: 2561
Reputation: 1971
You can use FragmentTabHost in order to make Tabs.
Use FragmentTabHost inside that TabWidget then finally TabsContent i,e FrameLayout int the main LayoutFile.
Then you can use one fragment with WebView in the layout file for the Fragment.
An then by Using FragmentTabHost class you can create tabs.
Upvotes: 0
Reputation: 4187
You're probably looking for this:
http://developer.android.com/reference/android/widget/TabWidget.html
Upvotes: 1