Titanium Community Questions & Answer Archive

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

Vertical layout on Android

The KitchenSink example for vertical layout is not available on android.

Further, when I have attempted to work with the vertical layout on Android it doesn't appear to work properly.

Am I missing something or is this not implemented yet?

— asked March 23rd 2010 by Vinh Bui
0 Comments

4 Answers

  • Android does the vertical layout stuff automaticly in my case, no need to declare anything. Just press ctrl+F12 and it automaticly switches

    — answered March 24th 2010 by Glenn Tillemans
    permalink
    0 Comments
  • What I mean by 'vertical' layout is window.layout='vertical'. This sets up the positioning of elements as relative instead of fixed position. The example in Kitchen Sink doesn't load on the Android which is why I think this is not available.

    Is anyone able to confirm this for me?

    — answered March 24th 2010 by Vinh Bui
    permalink
    0 Comments
  • Hi all!, i was testing this and i think that i find a solution.
    If u write something like: self.layout = 'vertical'; or self.setLayout('vertical'); it doesn't work
    You must put the attribute layout:'vertical' when create the window, only works then.

    — answered April 26th 2012 by Guille Terrasa
    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.