introduce portrait mode

pull/46/head
Antoine PEREDERII 2 years ago
parent ddd4df0c64
commit 008da57ebe

@ -1,6 +1,7 @@
using Banquale.Model;
using Banquale.Stub;
using Banquale.DataContractPersistance;
namespace Banquale;
public partial class App : Application
@ -22,4 +23,5 @@ public partial class App : Application
//MyManager.DataSave();
}
}

@ -4,7 +4,7 @@ using Android.OS;
namespace Banquale;
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation, ScreenOrientation = ScreenOrientation.Portrait)]
public class MainActivity : MauiAppCompatActivity
{
}

Loading…
Cancel
Save