I can't seem to get a TabHost to work. I am not extending TabActivity. The tabs are part of the UI, but I don't want them to be the full screen, but instead be part of the main layout. Think of it as in most tabbed dialog in windows, where the OK and Cancel buttons are not inside the tabs.
I've tried just having the TabHost inside a LinearLayout in the xml. I get the TabHost view with findById, call setup, and crash. I tried adding a FrameLayout manually as a child of the TabHost in the xml, but the same thing happens. There were other posts about this, and the answer seems to have been "Use TabActivity". But in my case, I can't (Or at least would rather not). I don't need to have it launch an activity per tab. I just need it to, well, behave like tab controls do in other systems : tell me which one is selected, and show the user only the subview associated with the selected tab. Is there a bug in TabHost that makes it unusable without TabActivity ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

