Navbar backgroundColor with Gradient?

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

Hey,

is there any option/way to set the backgroundColor for the navBar with a gradient? with just "barcolor" i cant get the result like it's in my layout...

(Using a bar Image isn't a good solution, cause then using a navigationgroup is broken ... :/

Any idea?

1 Answer

Hi Nico,

the way to customize the Navigation Bar is to use the 'titleControl' property, which allows you to set a view (with any text, background, buttons, etc) in place of the Title or Navigation Bar.

Have you already tried it?

— answered 7 months ago by Federico Casali
answer permalink
2 Comments
  • Hmm that sounds like the right answer... :) Any idea why i cant get the titleControl to full width of my app?

    — commented 7 months ago by Nico Barelmann

  • Hi Nico,

    it depends on how you are setting your view.
    Do you have a very simple code example?

    — commented 7 months ago by Federico Casali

Your Answer

Think you can help? Login to answer this question!