Files
LanMountainDesktop/mobile/LanMountainDesktop.Mobile.Android/MainActivity.cs
2026-08-11 19:41:54 +08:00

20 lines
601 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using Android.App;
using Android.Content.PM;
using Avalonia.Android;
namespace LanMountainDesktop.Mobile.Android;
/// <summary>
/// Android 入口 Activity。承载 MobileApp单视图组件面板
/// Avalonia 12 起 AppBuilder 定制移至 <see cref="MobileAndroidApplication"/>。
/// </summary>
[Activity(
Label = "阑山桌面",
Theme = "@style/MyTheme.NoActionBar",
Icon = "@drawable/icon",
MainLauncher = true,
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
public class MainActivity : AvaloniaMainActivity
{
}