[英]Monodroid hiding and showing the status bar
As the title states I would like to hide the status bar in my android app. 如标题所示,我想在我的android应用中隐藏状态栏。
I know how this is done in android but with monodroid I am not to sure.. 我知道这是如何在android中完成的,但对于monodroid我不确定。
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 ... 和android中一样
in activity 活动中
this.Window.AddFlags(WindowManagerFlags.Fullscreen); //to show
this.Window.ClearFlags(WindowManagerFlags.Fullscreen); //to hide
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.