0

I have set up a custom title bar and it works OK, but before the code is called the default title bar is shown and I don´t want this.

Here someone gives as a solution to define a new style from scratch. It works fine if this custom style has not parent, but if you use a parent style you get this previous title bar shown before mine.

As far as I am using Theme.Light in my app, how can I fix this ? Which parameter should I rewrite in my custom style to remove this previous title bar ??

Thanks !

Community
  • 1
  • 1
salut au revoir
  • 101
  • 1
  • 4

1 Answers1

0

Use Theme.Light.NoTitleBar instead, or use that as a parent for you own theme.

Joseph Earl
  • 23,351
  • 11
  • 76
  • 89
  • It does not work. It crashes. Please note that I want to show my custom title bar. What I do not want is the default title bar which is shown while code is called. – salut au revoir Jan 20 '13 at 13:30