>Jason Proctor wrote:
>>  anyone any ideas about this? did the XML layout rules for TabHost
>>  change in 1.5? i now don't have anything at all in my onCreate()
>>  beyond the super() call, and i still get the same TabHost crash.
>>  thanks in advance.
>
>Your FrameLayout needs to be a child of TabHost, not of TabWidget.
>TabHost has two children: the TabWidget and the FrameLayout.
>
>Try that and see if it helps.

thanks much. i think i must have looked at that piece of code too 
much, couldn't see it any more.

can't shake that crash in TabHost.dispatchWindowFocusChanged(), 
however. seems very convinced that mCurrentView is null. mCurrentView 
comes from the tab spec's content strategy, i have two TextViews with 
tab1 and tab2 IDs, nothing special, copied direct from your TabHost 
example here --

http://markmail.org/message/uwzxl462daxr3t4e

i note others complaining about crashes in the tab stuff in that 
thread. time to get 1.6 and see if that helps at all.

thanks,
-- 
jason.vp.engineering.particle

--~--~---------~--~----~------------~-------~--~----~
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