using System; using Android.App; using Android.Content; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace MonoGame.Samples.Input.Android { [Activity (Label = "MonoGame.Samples.Input" , MainLauncher = true ,Icon = "@drawable/icon" , Theme = "@style/Theme.Splash" ,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden )] public class Activity1 : AndroidGameActivity { protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); Game1.Activity = this; var game = new Game1(); game.Run(); } } }