Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

24 rindas
639B

  1. using Android.App;
  2. using Android.Content.PM;
  3. using Avalonia;
  4. using Avalonia.Android;
  5. using Avalonia.ReactiveUI;
  6. namespace Example.Android;
  7. [Activity(
  8. Label = "Example.Android",
  9. Theme = "@style/MyTheme.NoActionBar",
  10. Icon = "@drawable/icon",
  11. MainLauncher = true,
  12. ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)]
  13. public class MainActivity : AvaloniaMainActivity<App>
  14. {
  15. protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
  16. {
  17. return base.CustomizeAppBuilder(builder)
  18. .WithInterFont()
  19. .UseReactiveUI();
  20. }
  21. }