Titanium Community Questions & Answer Archive

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

Horizontal layout for Android?

Hi,

I'm trying things for Android, setting the layout property of views to 'vertical' works fine, however 'horizontal' doesn't. Is it a bug, or will it make it soon in the API?

Thanks.

— asked July 10th 2010 by Geoffroy Maynard
  • android
  • horizontal
  • layout
0 Comments

2 Answers

  • iirc Horizontal isn't currently available.

    — answered July 10th 2010 by David Ashwood
    permalink
    1 Comment
    • Will it ever be? Any work arounds, suggestions?

      — commented August 4th 2010 by De Wet Steynberg
  • Then do this one, which will deduce horizontal scrolling:

    var win = Ti.UI.createWindow();
    win.add(Ti.UI.createScrollView({
    height: 500, contentHeight: 500, width: "auto"
    }));
    win.open();

    — answered October 8th 2011 by Haya aziz
    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.