mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
23 lines
620 B
C#
23 lines
620 B
C#
using Android.App;
|
|
using Android.Content.PM;
|
|
|
|
using Avalonia;
|
|
using Avalonia.Android;
|
|
|
|
namespace Serein.Workbench.Avalonia.Android;
|
|
|
|
[Activity(
|
|
Label = "Serein.Workbench.Avalonia.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();
|
|
}
|
|
}
|