Titanium Community Questions & Answer Archive

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

Transition between tab

is it possible to do a transition when opening tabs? I've yet to see an example of doing this on Kitchen Sink.

I'm using this to open tabs.

tabGroup.setActiveTab(tabGroup.tabs[2]);

Thanks in advance

— asked March 27th 2010 by Phi Chong
  • animate
  • iphone
  • setactivetab
  • tabs
  • transition
0 Comments

2 Answers

  • Have you tried

    tabGroup.setActiveTab(2); // index here is enough, no need to reference the tab
    tabGroup.open({ transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT });
    

    ?

    Good luck.

    — answered March 27th 2010 by Florian Plank
    permalink
    0 Comments
  • setActiveTab(2);
    tabGroup.open({ transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT });
    

    Doesn't seem to work.

    Is there no way to set the tab groups transition before activating the tab?

    — answered April 21st 2010 by Thomas Bennett
    permalink
    0 Comments
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.