That example has one tab added via XML and then more are added. I feel that example gives you a good enough idea on how to go about using the Tab widgets. Try it and let me know if you still cannot get it. I can whip up some example code and post.
- Sunit On Tue, Oct 21, 2008 at 12:50 PM, Andrex <[EMAIL PROTECTED]> wrote: > > Ah, that's more about adding Tabs dynamically than preprogramming them > in from the start using XML. > > On Oct 21, 1:59 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > > Here is an example -http://androidguys.com/?p=650 > > > > On Mon, Oct 20, 2008 at 10:05 PM, Andrex <[EMAIL PROTECTED]> > wrote: > > > > > I'm having problems using TabHost and TabWidget, adding either of them > > > in my main.xml file gives a null pointer exception. Can someone post a > > > correct and current example of these? Thank you. > > > > -- > > - Sunit Katkar > > > -- - Sunit Katkar --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

