What is your motivation for hiding or showing the title bar at runtime?
Did you consider slicing your app in various activities, which can
have different themes?
R/

On Fri, Apr 10, 2009 at 1: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
-~----------~----~----~----~------~----~------~--~---

Reply via email to