Write your own title-bar. It's a hassle, but this is a way to do it. Create a View that looks like a title-bar and put it on top of your screen. You can hide and show it at any time.
On Apr 10, 4:27 am, bonfo <vale...@javaground.com> wrote: > Hi, > I already know ho to hide the title bar with the > getWindow().requestFeature(Window.FEATURE_NO_TITLE); > in the Activity onCreate() method before the setContentView() call. > > But i want something different. I'd like to show/hide the title bar in > any moment. To make an example, place a button in the view that toggle > the title. Unfortunately the requestFeature can be done only before > the call to setContentView(). > > How to you think is the best way to achive this? There is a way to > solve this issue? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---