How to custom toolbar background image in the new Tatinium

You must Login before you can answer or comment on any questions.

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 3 years ago by Buzz Li
0 Comments

5 Answers

Remember to set translucent:true - then the background image will show through.

barColor:'#000',
translucent:true,
backgroundImage:'images/toolbarbg.png'

— answered 3 years ago by Anders Dahl Pape
answer permalink
3 Comments
  • this is not working for me.

    — commented 2 years ago 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 1 year ago by Ryan Hickman

  • Is this issue is not fix yet? I am having same problem

    — commented 1 year ago by Abu Zahed

I'm having this same problem. I can't change the color or image for a toolbar

Same problem here.. Does anyone know how to use a custom image in the toolbar?

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

Your Answer

Think you can help? Login to answer this question!