sommeralex wrote:
> Hello!
> 
> I would like to have more than one tabWidget in my application. The
> trouble is that it seems that i can only use one.. If i name my first
> tabHost
> 
> android:id="@android:id/tabhost"
> 
> everything works fine. If i want to add a second one, i have to use
> another name for the other tabhost like tabhost2. But then i get the
> error message
> 
> must have a TabHost whose id attribute is "tabhost"
> 
> but not tabhost2

Only one can be managed by the TabActivity. You are on your own for the
others. Just call setup() on the second TabHost -- that's most of what
TabActivity does for you.

Though, considering how big the tabs are, I'm rather stunned you want
more than one set...

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to