If you want the title most of the time, and only hide it temporarily, you
can use a PopupWindow.

On Mon, Apr 13, 2009 at 7:24 AM, Streets Of Boston
<[email protected]>wrote:

>
> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to