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
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)
-
sorry but I didn't undestrand how to add the labels, in one line?
-
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.