Phil Kearney
Phil Kearney

Reputation: 157

Monodroid hiding and showing the status bar

As the title states I would like to hide the status bar in my android app.

I know how this is done in android but with monodroid I am not to sure..

Any suggestions would be great. I was thinking of having an option menu to hide and show it.

Thanks.

Upvotes: 2

Views: 2578

Answers (1)

Selvin
Selvin

Reputation: 6797

the same way as in android ...

in activity

this.Window.AddFlags(WindowManagerFlags.Fullscreen); //to show
this.Window.ClearFlags(WindowManagerFlags.Fullscreen); //to hide

Upvotes: 4

Related Questions