4 changed files with 30 additions and 27 deletions
@ -1,11 +1,16 @@ |
|||||
using Android.App; |
using Android.App; |
||||
using Android.Content.PM; |
using Android.Content.PM; |
||||
|
using Avalonia; |
||||
using Avalonia.Android; |
using Avalonia.Android; |
||||
|
|
||||
namespace ControlCatalog.Android |
namespace ControlCatalog.Android |
||||
{ |
{ |
||||
[Activity(Label = "ControlCatalog.Android", Theme = "@style/MyTheme.NoActionBar", Icon = "@drawable/icon", LaunchMode = LaunchMode.SingleInstance, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)] |
[Activity(Label = "ControlCatalog.Android", Theme = "@style/MyTheme.NoActionBar", Icon = "@drawable/icon", LaunchMode = LaunchMode.SingleInstance, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)] |
||||
public class MainActivity : AvaloniaActivity |
public class MainActivity : AvaloniaActivity<App> |
||||
{ |
{ |
||||
|
protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) |
||||
|
{ |
||||
|
return base.CustomizeAppBuilder(builder); |
||||
|
} |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue