Titanium Community Questions & Answer Archive

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

No such basic control

Hi. I cannot find such basic control in Titanium Mobile (pupup with select):
alt text

Will it be ever implemented?

— asked April 13th 2010 by Vitali Virulaine
  • control

1 Answer

  • This is not a "basic control" in the sense that the iPhone SDK does not provide this control as a standard option.

    However, you can easily build this in Titanium. What you have here is a semi-transparent view. Inside that you have label (at the top) and a button (at the bottom). In the middle, you have a basic table. In each "row" of the table, you have a composite view that contains a label, plus two graphics (dynamically selected based on the data at hand, such as locked, unlocked, 0-3 bars, etc.)

    This is not all that hard to implement. To do it in Objective-C, it would be approached the exact same way (only it would take much longer to code, at least for me.)

    — answered April 13th 2010 by Mark Burggraf
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.