Browse Source

updated samples/starterkits to include the ConfigurationChanges attribute

Dean Ellis 13 years ago
parent
commit
f781ad3845

+ 1 - 1
Samples/Android/ChaseAndEvade/Activity1.cs

@@ -5,7 +5,7 @@ using ChaseAndEvade;
 
 
 namespace MonoGame.Samples.ChaseAndEvade.Droid
 namespace MonoGame.Samples.ChaseAndEvade.Droid
 {
 {
-    [Activity(Label = "ChaseAndEvade", MainLauncher = true, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden,Icon = "@drawable/icon", Theme = "@style/Theme.Splash", NoHistory = true)]
+    [Activity(Label = "ChaseAndEvade", MainLauncher = true,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden,Icon = "@drawable/icon", Theme = "@style/Theme.Splash", NoHistory = true)]
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)

+ 1 - 1
Samples/Android/ChaseAndEvade/Resources/Resource.Designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.

+ 3 - 1
Samples/Android/Draw2D/Activity1.cs

@@ -1,9 +1,11 @@
 using Android.App;
 using Android.App;
 using Android.OS;
 using Android.OS;
+using Android.Content.PM;
 
 
 namespace Microsoft.Xna.Samples.Draw2D
 namespace Microsoft.Xna.Samples.Draw2D
 {
 {
-    [Activity(Label = "Draw2D", MainLauncher = true, Icon = "@drawable/icon", Theme = "@style/Theme.Splash")]
+    [Activity(Label = "Draw2D", MainLauncher = true, Icon = "@drawable/icon"
+	          , Theme = "@style/Theme.Splash",ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]	
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)

+ 7 - 1
Samples/Android/MonoGame.Samples.Input/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -9,7 +10,12 @@ using Android.OS;
 
 
 namespace MonoGame.Samples.Input
 namespace MonoGame.Samples.Input
 {
 {
-	[Activity (Label = "MonoGame.Samples.Input", MainLauncher = true,Icon = "@drawable/icon", Theme = "@style/Theme.Splash")]
+	[Activity (Label = "MonoGame.Samples.Input"
+	           , MainLauncher = true
+	           ,Icon = "@drawable/icon"
+	           , Theme = "@style/Theme.Splash"
+	           ,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden
+	           )]
 	public class Activity1 :  Microsoft.Xna.Framework.AndroidGameActivity
 	public class Activity1 :  Microsoft.Xna.Framework.AndroidGameActivity
 	{
 	{
 		protected override void OnCreate (Bundle bundle)
 		protected override void OnCreate (Bundle bundle)

+ 1 - 1
Samples/Android/MonoGame.Samples.Input/Game1.cs

@@ -36,7 +36,7 @@ namespace MonoGame.Samples.Input
 			graphics.IsFullScreen = true;	
 			graphics.IsFullScreen = true;	
 
 
 			graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight 
 			graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight 
-				//| DisplayOrientation.Portrait
+				| DisplayOrientation.Portrait
 				;
 				;
 		}
 		}
 		
 		

+ 1 - 0
Samples/Android/MonoGame.Samples.Input/MonoGame.Samples.Input.csproj

@@ -27,6 +27,7 @@
     <WarningLevel>4</WarningLevel>
     <WarningLevel>4</WarningLevel>
     <ConsolePause>false</ConsolePause>
     <ConsolePause>false</ConsolePause>
     <AndroidLinkMode>None</AndroidLinkMode>
     <AndroidLinkMode>None</AndroidLinkMode>
+    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
   </PropertyGroup>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>none</DebugType>
     <DebugType>none</DebugType>

+ 1 - 1
Samples/Android/MonoGame.Samples.Input/Resources/Resource.designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.

+ 6 - 4
Samples/Android/Orientation/Activity1.cs

@@ -6,21 +6,23 @@ using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
 using Android.OS;
 using Android.OS;
+using Android.Content.PM;
 using Microsoft.Xna.Framework;
 using Microsoft.Xna.Framework;
 
 
 namespace Orientation
 namespace Orientation
 {
 {
-	[Activity (Label = "Orientation", MainLauncher = true)]
+	[Activity (Label = "Orientation", MainLauncher = true
+	           ,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : AndroidGameActivity
 	public class Activity1 : AndroidGameActivity
 	{
 	{
 		protected override void OnCreate (Bundle bundle)
 		protected override void OnCreate (Bundle bundle)
 		{
 		{
 			base.OnCreate (bundle);
 			base.OnCreate (bundle);
-			
-			OrientationSample.OrientationSample.Activity = this;
+						
+			OrientationSample.OrientationSample.Activity = this;		
 			OrientationSample.OrientationSample g = new OrientationSample.OrientationSample();						
 			OrientationSample.OrientationSample g = new OrientationSample.OrientationSample();						
 			SetContentView (g.Window);
 			SetContentView (g.Window);
-			g.Run();
+			g.Run();						
 		}
 		}
 	}
 	}
 }
 }

+ 4 - 4
Samples/Android/Orientation/OrientationSample.cs

@@ -76,10 +76,10 @@ namespace OrientationSample
             // Game supports all possible orientations and enablyes dynamically locking/unlocking the
             // Game supports all possible orientations and enablyes dynamically locking/unlocking the
             // orientation.
             // orientation.
             // (Uncomment the following lines):
             // (Uncomment the following lines):
-            // graphics.SupportedOrientations = DisplayOrientation.Portrait |
-            //                                  DisplayOrientation.LandscapeLeft |
-            //                                  DisplayOrientation.LandscapeRight;
-            //enableOrientationLocking = true;
+             graphics.SupportedOrientations = DisplayOrientation.Portrait |
+                                              DisplayOrientation.LandscapeLeft |
+                                              DisplayOrientation.LandscapeRight;
+            enableOrientationLocking = true;
 
 
             // Switch to full screen mode
             // Switch to full screen mode
             graphics.IsFullScreen = true;
             graphics.IsFullScreen = true;

+ 2 - 2
Samples/Android/Peer2Peer/Activity1.cs

@@ -5,8 +5,8 @@ using PeerToPeer;
 
 
 namespace MonoGame.Samples.PeerToPeerGame.Droid
 namespace MonoGame.Samples.PeerToPeerGame.Droid
 {
 {
-    [Activity(Label = "Peer2Peer", MainLauncher = true,
-        ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden
+    [Activity(Label = "Peer2Peer", MainLauncher = true
+        ,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden
         , Icon = "@drawable/icon"
         , Icon = "@drawable/icon"
         , Theme = "@style/Theme.Splash"
         , Theme = "@style/Theme.Splash"
         , NoHistory = true)]
         , NoHistory = true)]

+ 1 - 1
Samples/Android/Peer2Peer/Resources/Resource.Designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.

+ 2 - 1
Samples/Android/Primitives/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -9,7 +10,7 @@ using Android.OS;
 
 
 namespace MonoGame.Samples.Primitives.Android
 namespace MonoGame.Samples.Primitives.Android
 {
 {
-	[Activity (Label = "MonoGame.Samples.Primitives.Android", MainLauncher = true)]
+	[Activity (Label = "MonoGame.Samples.Primitives.Android", MainLauncher = true,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : Activity
 	public class Activity1 : Activity
 	{
 	{
 		protected override void OnCreate (Bundle bundle)
 		protected override void OnCreate (Bundle bundle)

+ 2 - 1
Samples/Android/RenderTarget2D/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -10,7 +11,7 @@ using Android.OS;
 namespace RenderTarget2DSample
 namespace RenderTarget2DSample
 {
 {
     [Activity(Label = "RenderTarget2D", MainLauncher = true, Icon = "@drawable/icon"
     [Activity(Label = "RenderTarget2D", MainLauncher = true, Icon = "@drawable/icon"
-        , Theme = "@style/Theme.Splash")]
+        , Theme = "@style/Theme.Splash",ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	{
 	{
 		protected override void OnCreate (Bundle bundle)
 		protected override void OnCreate (Bundle bundle)

+ 2 - 1
Samples/Android/Sound/Activity1.cs

@@ -2,6 +2,7 @@
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -11,7 +12,7 @@ using Microsoft.Xna.Framework;
 namespace Microsoft.Xna.Samples.Sound
 namespace Microsoft.Xna.Samples.Sound
 {
 {
     [Activity(Label = "Sound", MainLauncher = true, Icon = "@drawable/icon"
     [Activity(Label = "Sound", MainLauncher = true, Icon = "@drawable/icon"
-        , Theme = "@style/Theme.Splash")]
+        , Theme = "@style/Theme.Splash",ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
     public class Activity1 : AndroidGameActivity
     public class Activity1 : AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)

+ 1 - 1
Samples/Android/Sound/Resources/Resource.Designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.

+ 3 - 1
Samples/Android/VideoPlayer/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -9,7 +10,8 @@ using Android.OS;
 
 
 namespace MonoGame.Samples.VideoPlayer
 namespace MonoGame.Samples.VideoPlayer
 {
 {
-	[Activity(Label = "VideoPlayer", MainLauncher = true, Icon = "@drawable/icon", Theme = "@style/Theme.Splash")]
+	[Activity(Label = "VideoPlayer", MainLauncher = true, Icon = "@drawable/icon", 
+	          Theme = "@style/Theme.Splash",ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)

+ 1 - 3
Samples/MonoGame.Samples.Android.sln

@@ -34,11 +34,9 @@ Global
 		{0A5F2E21-0B29-4627-8F06-28BA442B21F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{0A5F2E21-0B29-4627-8F06-28BA442B21F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{0A5F2E21-0B29-4627-8F06-28BA442B21F7}.Release|Any CPU.Build.0 = Release|Any CPU
 		{0A5F2E21-0B29-4627-8F06-28BA442B21F7}.Release|Any CPU.Build.0 = Release|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Release|Any CPU.Build.0 = Release|Any CPU
 		{167741E2-2D8E-474A-8D06-9ACB55F0BA83}.Release|Any CPU.Build.0 = Release|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Release|Any CPU.Build.0 = Release|Any CPU
 		{27C3DD7C-5322-4C2D-8EE4-07610390CDAF}.Release|Any CPU.Build.0 = Release|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -77,7 +75,7 @@ Global
 		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Release|Any CPU.Deploy.0 = Release|Any CPU
 		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Release|Any CPU.Deploy.0 = Release|Any CPU
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(MonoDevelopProperties) = preSolution
 	GlobalSection(MonoDevelopProperties) = preSolution
-		StartupItem = Android\Orientation\Orientation.csproj
+		StartupItem = Android\MonoGame.Samples.Input\MonoGame.Samples.Input.csproj
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
 		HideSolutionNode = FALSE

+ 2 - 2
Samples/iOS/Draw2D/FPSCounterComponent.cs

@@ -42,8 +42,8 @@ namespace Microsoft.Xna.Samples.Draw2D
 
 
             string fps = string.Format("fps: {0} mem : {1}", frameRate, GC.GetTotalMemory(false));
             string fps = string.Format("fps: {0} mem : {1}", frameRate, GC.GetTotalMemory(false));
 
 
-            //spriteBatch.DrawString(spriteFont, fps, new Vector2(1, 1), Color.Black);
-            //spriteBatch.DrawString(spriteFont, fps, new Vector2(0, 0), Color.White);
+            spriteBatch.DrawString(spriteFont, fps, new Vector2(1, 1), Color.Black);
+            spriteBatch.DrawString(spriteFont, fps, new Vector2(0, 0), Color.White);
         }
         }
     }
     }
 }
 }

+ 2 - 1
StarterKits/Android/Cards/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -9,7 +10,7 @@ using Android.OS;
 
 
 namespace Blackjack
 namespace Blackjack
 {
 {
-	[Activity (Label = "Blackjack.Android", MainLauncher = true)]
+	[Activity (Label = "Blackjack.Android", MainLauncher = true,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	{
 	{
 		protected override void OnCreate(Bundle bundle)
 		protected override void OnCreate(Bundle bundle)

+ 2 - 1
StarterKits/Android/Marblets/Activity1.cs

@@ -2,6 +2,7 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.Content;
 using Android.Content;
+using Android.Content.PM;
 using Android.Runtime;
 using Android.Runtime;
 using Android.Views;
 using Android.Views;
 using Android.Widget;
 using Android.Widget;
@@ -9,7 +10,7 @@ using Android.OS;
 
 
 namespace Marblets
 namespace Marblets
 {
 {
-	[Activity (Label = "Marblets", MainLauncher = true)]
+	[Activity (Label = "Marblets", MainLauncher = true,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : Activity
 	public class Activity1 : Activity
 	{
 	{
 		protected override void OnCreate (Bundle bundle)
 		protected override void OnCreate (Bundle bundle)

+ 2 - 1
StarterKits/Android/Platformer/Activity1.cs

@@ -1,9 +1,10 @@
 using Android.App;
 using Android.App;
 using Android.OS;
 using Android.OS;
+using Android.Content.PM;
 
 
 namespace Platformer
 namespace Platformer
 {
 {
-    [Activity(Label = "Platformer", MainLauncher = true, Icon = "@drawable/icon")]
+    [Activity(Label = "Platformer", MainLauncher = true, Icon = "@drawable/icon",ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)

+ 1 - 1
StarterKits/Android/Platformer/Resources/Resource.designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.235
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.

+ 3 - 1
StarterKits/Android/VectorRumble/Activity1.cs

@@ -2,12 +2,14 @@ using System;
 
 
 using Android.App;
 using Android.App;
 using Android.OS;
 using Android.OS;
+using Android.Content.PM;
 
 
 namespace VectorRumble
 namespace VectorRumble
 {
 {
 	[Activity (Label = "VectorRumble", MainLauncher = true, 
 	[Activity (Label = "VectorRumble", MainLauncher = true, 
 		Icon = "@drawable/icon", 
 		Icon = "@drawable/icon", 
-		Theme = "@style/Theme.Splash")]
+		Theme = "@style/Theme.Splash"
+	    ,ConfigurationChanges=ConfigChanges.Orientation|ConfigChanges.Keyboard|ConfigChanges.KeyboardHidden)]
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
 	{
 	{
 		protected override void OnCreate(Bundle bundle)
 		protected override void OnCreate(Bundle bundle)

+ 1 - 1
StarterKits/Android/VectorRumble/Resources/Resource.designer.cs

@@ -1,7 +1,7 @@
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // <auto-generated>
 // <auto-generated>
 //     This code was generated by a tool.
 //     This code was generated by a tool.
-//     Runtime Version:4.0.30319.239
+//     Runtime Version:4.0.30319.488
 //
 //
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     Changes to this file may cause incorrect behavior and will be lost if
 //     the code is regenerated.
 //     the code is regenerated.