Titanium Community Questions & Answer Archive

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

Animate a windows when setting active tab

Hi

I can switch windows by setting active tabs but there are no animation.

This is the code:

Titanium.UI.currentTabGroup.setActiveTab(Titanium.UI.currentTabGroup.tabs[0]);

Titanium.UI.currentTabGroup.open({
transition:Titanium.UI.iPhone.AnimationStyle.CURL_UP
});

Anything wrong with the above code?

Thanks!

— asked March 29th 2010 by Peter Lum
  • animation
  • tab
  • tabgroup
  • transition
0 Comments

2 Answers

  • Anyone got any further with this? I'm having exactly the same problem

    — answered April 21st 2010 by Thomas Bennett
    permalink
    0 Comments
  • I am having the same issue. It appears that the setActiveTab is firing before the code for the open. I wonder if there is a way to set the animation on a tab that no matter when or how it is opened, it fires the animation.

    — answered April 5th 2010 by Timothy Love
    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.