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 CURL_UP half window

Hi to all.
Like the title states, I am interested in knowing how could I make a transition for a window with the CURL_UP style, but not for the whole window, just half…exactly like Google Maps app has it, generated by the bottom-right button, to allow you to change the map style and drop a pin.

Thanks in advance.
Vali.

— asked November 1st 2010 by Vali Filip
  • curl_up
  • mobile
  • transition
1 Comment
  • Bump;

    — commented November 1st 2010 by Vali Filip

4 Answers

  • Accepted Answer

    This help?

    var style = Ti.UI.iPhone.MODAL_TRANSITION_STYLE_PARTIAL_CURL;
    var presentation = Ti.UI.iPhone.MODAL_PRESENTATION_CURRENT_CONTEXT;

    w.open({modal:true,modalTransitionStyle:style,modalStyle:presentation,navBarHidden:false})

    — answered November 1st 2010 by Jeffrey Messick
    permalink
    1 Comment
    • This is exactly what I need, Many thanks. But this reises a new problem. After calling the open function and closing the window, the second time it doesn't work. I understand there is a problem with the triggers not firing on close and blur, but I suppose the action of closing the window should occur. Can you be of any assistance in this matter, please?

      Thank you.

      — commented November 1st 2010 by Vali Filip
  • I think its Titanium.UI.iPhone.AnimationStyle.CURL_UP

    — answered November 1st 2010 by Ronnie Swietek
    permalink
    1 Comment
    • Yes, that is the transition, but when you use that, it goes all the way to the to and opens the other window. I would like to curld the page just half the height and then curl it back down.

      — commented November 1st 2010 by Vali Filip
  • Bump;

    — answered November 1st 2010 by Vali Filip
    permalink
    0 Comments
  • I have the same problem: can I control somehow the page is curled? I mean GMaps has a halfway curl up effect, while Kitchen Sink has an almost all-page one. Can I set the amount of page to be curled?

    — answered March 6th 2012 by Kristof Gruber
    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.