mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-03 22:47:54 +00:00
31 lines
874 B
C#
31 lines
874 B
C#
using System;
|
|
|
|
using Android.App;
|
|
using Android.Content;
|
|
using Android.Content.PM;
|
|
using Android.Runtime;
|
|
using Android.Views;
|
|
using Android.Widget;
|
|
using Android.OS;
|
|
|
|
namespace qController.Droid
|
|
{
|
|
[Activity(Label = "qController", Icon = "@drawable/icon", Theme = "@style/MyTheme", 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());
|
|
Acr.UserDialogs.UserDialogs.Init(this);
|
|
|
|
}
|
|
}
|
|
}
|