Skip to content

Commit

Permalink
Fix for android 7 nougat for black screen when split-screen is activa…
Browse files Browse the repository at this point in the history
…ted (#5785)
  • Loading branch information
roponator authored and KonajuGames committed Aug 30, 2017
1 parent 81277e4 commit a18f7e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -22,7 +22,8 @@ namespace ${Namespace}
ConfigurationChanges = ConfigChanges.Orientation |
ConfigChanges.KeyboardHidden |
ConfigChanges.Keyboard |
ConfigChanges.ScreenSize)]
ConfigChanges.ScreenSize |
ConfigChanges.ScreenLayout)]
public class Activity1 : AndroidGameActivity
{
protected override void OnCreate (Bundle bundle)
Expand Down
2 changes: 1 addition & 1 deletion ProjectTemplates/VisualStudio2010/Android/Activity1.cs
Expand Up @@ -12,7 +12,7 @@ namespace $safeprojectname$
, AlwaysRetainTaskState=true
, LaunchMode=Android.Content.PM.LaunchMode.SingleInstance
, ScreenOrientation = ScreenOrientation.FullUser
, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden | ConfigChanges.ScreenSize)]
, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden | ConfigChanges.ScreenSize | ConfigChanges.ScreenLayout)]
public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
{
protected override void OnCreate(Bundle bundle)
Expand Down

0 comments on commit a18f7e4

Please sign in to comment.