• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using tabs

 
Aris Doxakis
Ranch Hand
Posts: 136
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about ActionBar ?
ActionBar has facility for Tabs. Try to look into that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic