Android Question Multiple activities with stdactionbar

migrec

Member
Licensed User
Longtime User
Hey, I use the stdactionbar library with tabs in my app and my question is: is there a way to use this with multiple activities? for not getting a huge clump of code in a single activity..
 

migrec

Member
Licensed User
Longtime User
Yeah but that doesn't work with the tabs, since when you click on TAB 2 and it opens a new activity, in that new activity it shows TAB 1, even if you by code make tab 2 first in that new activity, tabs are sorted weird.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
can't you force the selected tab value to fake being on tab2?

just make the the height of the bar + 1 or 2 pixels and put your stuff under it
 
Upvote 0

migrec

Member
Licensed User
Longtime User
Sorry but I see no way to "force" or set the highlighted tab at each activity, anyone who did something similar?
 
Upvote 0
Top