mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-17 23:59:47 +00:00
28 lines
1,007 B
C#
28 lines
1,007 B
C#
using System;
|
|
|
|
using Android.App;
|
|
using Android.Content.PM;
|
|
using Android.Runtime;
|
|
using Android.Views;
|
|
using Android.Widget;
|
|
using Android.OS;
|
|
|
|
namespace AideDeJeu.Droid
|
|
{
|
|
//[Activity(Label = "Aide de Jeu", Icon = "@drawable/black_book", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
|
[Activity(Label = "Aide de Jeu", Icon = "@drawable/ic_launcher", Theme = "@style/MyTheme.Splash", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
|
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
|
|
{
|
|
protected override void OnCreate(Bundle bundle)
|
|
{
|
|
TabLayoutResource = Resource.Layout.Tabbar;
|
|
ToolbarResource = Resource.Layout.Toolbar;
|
|
|
|
base.OnCreate(bundle);
|
|
|
|
global::Xamarin.Forms.Forms.Init(this, bundle);
|
|
LoadApplication(new App());
|
|
}
|
|
}
|
|
}
|
|
|