wood burning stoves 2.0*
The moose likes Android and the fly likes using tabs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "using tabs" Watch "using tabs" New topic
Author

using tabs

Aris Doxakis
Ranch Hand

Joined: Dec 05, 2004
Posts: 136

Good morning again,
I had an application that worked with Android 1.6 - 2.3. I am updating it to work with Android 3(Tablets). I had an activity that used Tabs(4 tabs exactly). How can i implement a tabHost using Fragments. My UI is divided in 2 pieces. On the left i have a menu that changes on user choices, and on the right i display each fragment called from the user. Now one of my options open a fragment that has to have 4 tabs in it. How can i implement this??
Dont need to use deprecated code or backward compatibility, because it will work only for tablets version 3 and up.

Thanks in advance.
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
How about ActionBar ?
ActionBar has facility for Tabs. Try to look into that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using tabs
 
Similar Threads
JSP Fragments
How to use the Android Compatibility Package?
Questions from beginner Android developer
Need suggestions on tablets
tabview in android