>Jason Proctor wrote: >> thanks. i did wonder whether this was possible, but i ran into all >> kinds of crashes inside TabHost until i started doing most of the >> setup in Java, which wasn't the idea at all. > >I'd publish some code, but the example I have at the ready was for a >consulting customer. Trust me, it works -- I'm doing the exact thing you >want to (dump the regular title bar, use a graphical "title" in the >activity body). > >In my case, I'm using a RelativeLayout rather than a LinearLayout as the >root, but the concept still holds.
wow, i'm having a lot of trouble with tabs. TabSpec can't find any view IDs that i specify in setContent(), even though i can inflate them manually if i implement TabContentProvider. if i set my TabSpec up in the XML, i get crashes in TabHost because the current view isn't set (i think). plus the view hierarchy ends up being really deep, seems like i'm doing something wrong somewhere. the Tab1 example in the SDK references the subviews in the XML *and* in the Java, which seems a bit odd. and finally :-) can i get called when the user picks a tab? i see callbacks for everything else, but not that. the view inside the tab is kinda heavy and i'd like to dynamically swap it between tabs instead of having N of them. 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 -~----------~----~----~----~------~----~------~--~---

