Method 1.

tab content can be an activity.

so you can have another tabwidget (@android:id/tabs) in that activity.


Method 2.

You don't have to use TabActivity to use tabs.

All TabActivity does is to match tab widget to predefined ids such as
tabs, tabcontents.

Without using TabActivity, you can still match the ids and call
TabHost's setup() to add tabs.

Although I couldn't find the example that uses tabs without
TabActivity. I've done it once.

See http://developer.android.com/reference/android/widget/TabHost.html


On Jan 3, 9:22 am, mrqzzz <marcus.ob...@gmail.com> wrote:
> Hello.
> I am new to Android. I just started with the layout examples and i was
> wondering how to get nested TabWidgets (a TabWidget inside a tab of
> another TabWidget).
> I noticed that android:id="@android:id/tabs" of one TabWidget might
> conflict with the other... or am i missing something?
>
> Thanks,
> Marcus.
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to