25 lines
731 B
C#
25 lines
731 B
C#
using Android.App;
|
|
using Android.Content.PM;
|
|
using Avalonia;
|
|
using Avalonia.Android;
|
|
using Avalonia.ReactiveUI;
|
|
|
|
namespace BGC.Client.Android
|
|
{
|
|
[Activity(
|
|
Label = "BGC.Client.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();
|
|
}
|
|
}
|
|
}
|