osu/osu.Game.Tests.Android/MainActivity.cs

16 lines
682 B
C#
Raw Normal View History

2019-01-31 00:07:32 +00:00
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
2019-01-06 05:18:12 +00:00
using Android.App;
using Android.Content.PM;
using osu.Framework.Android;
namespace osu.Game.Tests.Android
{
2019-01-31 00:07:32 +00:00
[Activity(Theme = "@android:style/Theme.NoTitleBar", MainLauncher = true, ScreenOrientation = ScreenOrientation.SensorLandscape, SupportsPictureInPicture = false, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize, HardwareAccelerated = true)]
2019-01-06 05:18:12 +00:00
public class MainActivity : AndroidGameActivity
{
2019-06-10 02:15:05 +00:00
protected override Framework.Game CreateGame() => new OsuTestBrowser();
2019-01-06 05:18:12 +00:00
}
}