protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); orientationListener = new OrientationListener(this); if (orientationListener.CanDetectOrientation()) { orientationListener.Enable(); } // hide window title this.RequestedOrientation = ScreenOrientation.Landscape; RequestWindowFeature(WindowFeatures.NoTitle); // make app fullscreen Window.SetFlags(WindowManagerFlags.Fullscreen, WindowManagerFlags.Fullscreen); // Create our OpenGL view, and display it view = new GLView(this); SetContentView(view); view.Run(); //Accelerometer.SetupAccelerometer(this); }