Titanium Community Questions & Answer Archive

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

How to custom toolbar background image in the new Tatinium

In the api document, it says the property is "backgroundImage", but it doesn't work.

In the new KitchenSink code, it uses barColor to custom the toolbar color, so I think there must be a new property to modify the background image, but I didn't see the doc update.

— asked September 7th 2010 by Buzz Li
  • backgroundimage
  • toolbar
0 Comments

5 Answers

  • add property {barColor: 'transparent'}

    — answered October 10th 2012 by eric hsu
    permalink
    0 Comments
  • Remember to set translucent:true - then the background image will show through.

    barColor:'#000',
    translucent:true,
    backgroundImage:'images/toolbarbg.png'
    
    — answered November 10th 2010 by Anders Dahl Pape
    permalink
    3 Comments
    • this is not working for me.

      — commented February 16th 2011 by Enrico Luciano
    • nor is it working for me. I can modify all the properties - however the gradient and image properties do not change.

      — commented December 30th 2011 by Ryan Hickman
    • Is this issue is not fix yet? I am having same problem

      — commented April 7th 2012 by Abu Zahed
  • I'm having this same problem. I can't change the color or image for a toolbar

    — answered February 13th 2012 by Arron Hunt
    permalink
    1 Comment
    • I can get color working using the above method, but not image.

      — commented February 13th 2012 by Arron Hunt
  • Same problem here.. Does anyone know how to use a custom image in the toolbar?

    — answered April 4th 2012 by Joshua Lambert
    permalink
    0 Comments
  • The background Image property does not work with toolbar and even in docs it says that it is just for views. you can look at the link I am posting here.

    http://oi50.tinypic.com/20gfkw0.jpg

    — answered December 13th 2012 by Sid Joshi
    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.