mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-17 15:06:36 +08:00
misc:
extract App.axaml; Android demo display label.
This commit is contained in:
@@ -4,9 +4,13 @@ using Avalonia.Android;
|
||||
|
||||
namespace Semi.Avalonia.Demo.Android;
|
||||
|
||||
[Activity(Label = "Semi.Avalonia.Demo.Android", Icon = "@drawable/Icon", MainLauncher = true, Theme = "@style/MyTheme.NoActionBar",
|
||||
LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
|
||||
[Activity(
|
||||
Label = "Semi.Avalonia",
|
||||
Theme = "@style/MyTheme.NoActionBar",
|
||||
Icon = "@drawable/Icon",
|
||||
MainLauncher = true,
|
||||
LaunchMode = LaunchMode.SingleTop,
|
||||
ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
|
||||
public class MainActivity : AvaloniaMainActivity<App>
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user