Don't like ads? PRO users don't see any ads ;-)
Guest

leftImage

By: sau1 on May 12th, 2012  |  syntax: JavaScript  |  size: 0.20 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  //add an image to the left of the annotation
  2.    var leftImage = Titanium.UI.createImageView({
  3.      image: 'images/start.png',
  4.      width: 25,
  5.      height: 25
  6.    });
  7.    annotation.leftView = leftImage;