简体   繁体   中英

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.

the same way as in android ...

in activity

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM