Hi all,

Can anyone help me to solve this problem with TabHost.

I am now using TabHost to create a tabbed view. The SDK document
suggest that I must call setup() function before adding tabs to the
TabHost widget. But when I run the application on the Emulator, the
setup() function throw a RuntimeException than contain the following
message:

        Your TabHost must have a TabWidget whose id attribute is
'android.R.id.tabs'

Can anyone explain me why this exception is thrown and how to get rid
of it.
Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to