Titanium Community Questions & Answer Archive

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

Layout

Hi
how I can do a layout like this one to indicate a day of month (iphone,android)?
I must use a picker?

layout: http://www.mioserver.com/days.jpg

Thanks

— asked October 4th 2010 by Igor Felluga
  • android
  • iphone
  • mobile
0 Comments

3 Answers

  • You can create your Own UI with Titanium….

    1.Design the background image as such in the img you showed and put it in a view.

    2.Add labels to represent the numbers & reduce the opacity of Labels other than the middle one and add all the labels to the view.

    3.Now handle the swipe events and make changes to text of the labels based on the direction of swipes or programatically change the values of the Labels …

    Guess this should do the trick….

    (Vote up if this solves your problem)

    — answered October 4th 2010 by Satta Ravi
    permalink
    0 Comments
  • sorry but I didn't undestrand how to add the labels, in one line?

    — answered October 7th 2010 by Igor Felluga
    permalink
    0 Comments
  • Have you looked at the Kitchen Sink for mobile example? Specifically look at Base UI/Views/Scroll Views/Scrolling Tabs. It looks a bit like that image and the sample code in there may get you closer to what you are after.

    — answered October 7th 2010 by John McKnight
    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.