Skip to content

Instantly share code, notes, and snippets.

@diegobersano
Created November 28, 2016 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegobersano/ff42a0773bfeaed5f0b9d62868b55e52 to your computer and use it in GitHub Desktop.
Save diegobersano/ff42a0773bfeaed5f0b9d62868b55e52 to your computer and use it in GitHub Desktop.
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using System;
namespace AppForms.Droid
{
[Activity(Label = "AppForms", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
global::Xamarin.Forms.Forms.Init(this, bundle);
LoadApplication(new App());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment