Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Custom Tabs

Hi,

I came across someone who had created their own custom tabs but cant seem to find it again.

Essentially I would like to emulate the default tabs but allow for more control especially height and width as well as scrollabitily and allowing complete fullscreen.

Does anybody know of a good example of this, something that will demonstrate the best method ?

— asked November 17th 2010 by Kevin
  • android
  • custom
  • tab
1 Comment
  • I've started to work on this anyway here is the gist: https://gist.github.com/703723

    The issues I'm having is that the label gets in the way of the eventlistener and so only changes that area. (it shouldn't)

    I was thinking of assigning my own id to the label and view that way I would know what has been clicked and I would also be able to set the active tab from the outset.
    This presents its own issues in that when I try to refer to the view by name nothing happens and it doesn't register.

    Any help would be appreciated.

    — commented November 17th 2010 by Kevin

1 Answer

  • Accepted Answer

    Hi Kevin

    I think you mean the code that Christian kindly gave to the community. You will find his post, about a custom tabgroup class, here

    Cheers :)

    — answered November 19th 2010 by Paul Dowsett
    permalink
    1 Comment
    • Yes Thats the One!, Thanks Hal.

      Must add my thanks to Christian.

      — commented November 22nd 2010 by Kevin
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.