Initial commit
This commit is contained in:
commit
3070582aa4
48 changed files with 1448 additions and 0 deletions
23
pgLabII.Android/MainActivity.cs
Normal file
23
pgLabII.Android/MainActivity.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Avalonia;
|
||||
using Avalonia.Android;
|
||||
using Avalonia.ReactiveUI;
|
||||
|
||||
namespace pgLabII.Android;
|
||||
|
||||
[Activity(
|
||||
Label = "pgLabII.Android",
|
||||
Theme = "@style/MyTheme.NoActionBar",
|
||||
Icon = "@drawable/icon",
|
||||
MainLauncher = true,
|
||||
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
|
||||
public class MainActivity : AvaloniaMainActivity<App>
|
||||
{
|
||||
protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
|
||||
{
|
||||
return base.CustomizeAppBuilder(builder)
|
||||
.WithInterFont()
|
||||
.UseReactiveUI();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue