Titanium Community Questions & Answer Archive

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

Slide animation without tabs

Hi,

Could anyone help me in getting the slide animation between windows without using tabs?

Thanks in advance.

— asked August 27th 2010 by Sravan Vinjamuri
  • animation
  • iphone
  • slide
0 Comments

5 Answers

  • Take a look at the navigationGroup.

    — answered August 27th 2010 by Dan Tamas
    permalink
    1 Comment
    • Tamas, Thank you very much. What will happen to the first window when we try to open a second with the navigation group. Will it be closed automatically?

      — commented August 27th 2010 by Sravan Vinjamuri
  • It will behave like when u open windows from a tab

    — answered August 27th 2010 by Dan Tamas
    permalink
    1 Comment
    • Tamas, I would like to have the slide animation and at the same time when the new window slides, I would like to close the old window there by releasing the resources.

      — commented August 27th 2010 by Sravan Vinjamuri
  • You don't have to take care of it, as far as I know.

    — answered August 27th 2010 by Dan Tamas
    permalink
    2 Comments
    • Thank you very much Tamas. I have another question. Is it possible to use the navigation group without navBar? The navbar place will be occupied by a logo image and I would like to have a separate button in the window that will navigate to the previous window.

      — commented August 27th 2010 by Sravan Vinjamuri
    • Additional Info: I am referring to a custom button which when clicked should slide out the current window and slide in the previous window. Usually, this is taken care by the left nav button in the nav bar; however, I am not wanting to have the navBar because of the logo.

      — commented August 27th 2010 by Sravan Vinjamuri
  • I'm not sure, you could try with remove, removing the current opened window.

    — answered August 28th 2010 by Dan Tamas
    permalink
    2 Comments
    • Hi Tamas, I tried closing the current open window using NavigationGroup.close(). It slides in the previous window; however, since the current window will be closed, the slide animation will be with previous window and a black screen.

      — commented August 28th 2010 by Sravan Vinjamuri
    • When I try to remove the current window using navigationGroup.remove(), it says the window is not a child or the window is already removed.

      — commented August 28th 2010 by Sravan Vinjamuri
  • Ok , last idea. If you try to close the current window it does not return to the previous one?

    — answered August 28th 2010 by Dan Tamas
    permalink
    1 Comment
    • In the slide animation, current window will slide out and previous window slides in. When I close the current window, it is opening the previous window. Since the current window is closed, the slide animation is occurring between the previous window and a black screen. I was expecting the animation to occur between the current window which is being closed and the previous one.

      — commented August 28th 2010 by Sravan Vinjamuri
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.