21 lines
598 B
C#
21 lines
598 B
C#
using Android.App;
|
|
using Android.Content.PM;
|
|
using Avalonia;
|
|
using Avalonia.Android;
|
|
|
|
namespace 山海奇闻录.Android;
|
|
|
|
[Activity(
|
|
Label = "山海奇闻录.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();
|
|
}
|
|
} |