I figured it out.

Using "android:id=@android:id/tabhost" instead of "android:id="@+id/tabhost"
made everything work fine. But it only works if TabActivity is subclassed.
It doesn't work in ActivityGroup subclass because tab host must be
initialized with FindViewById<TabHost> and "@android:id" entries are missing
from the Resource class. Is this a bug or by design?

Best regards,
Niko Delic

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/TabActivity-TabHost-crash-tp4869491p4871079.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to