Actually my mistake. getCurrentTabView might just get the view of the tab you have selected (not the contents of the tab). Try getCurrentView. Post sample code if you can't get it working and I will explore further.
On Aug 21, 2:04 pm, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > Do you mean to add a new tab or simply dynamically adjust the View > hierarchy in a particular tab? If so, getCurrentTabView will work to > do what you need. Just modify the view hierarchy found there. Do > realize that you are getting the root-level View of the tab, so you > must search within that using View#findViewById to locate the actual > view you're looking to modify. > > On Aug 21, 11:28 am, Teo <[EMAIL PROTECTED]> wrote: > > > Hi, > > > i tried debugging quite a bit, but i can't figure it out; is it > > possible to add something (buttons, etc.) to a tab? I'm using a > > FrameLayout inside a TabWidget inside a TabHost. I tried lots of > > things, including adding to TabHost's getCurrentTabView, but i wasn't > > lucky. > > > Any tips? > > > Thanks, > > Teo --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

