Search Results For : game full screen

Windows Phone 7 – Removing Battery Indicator

Many a times, when we do a XNA game, we will want it to be full screen and hide the battery indicator. We will not want to show the battery indicator like this.

With Battery Indicator

With Battery Indicator

You can change it to remove the battery indicator by adding this line of code at the constructor where the game is initialized.
graphics.IsFullScreen = true;

Without Battery Indicator

Without Battery Indicator

You can download and view the sample here.
http://cid-29f099c37b76ca59.office.live.com/self.aspx/Blog/Code%20Guide/Windows%20Phone%207/RemoveBatteryIcon.zip
If you have any feedback, you can email me at guohong@limguohong.com