Skip to content

Instantly share code, notes, and snippets.

@smallgeek
Created December 8, 2012 10:04
Show Gist options
  • Select an option

  • Save smallgeek/4239674 to your computer and use it in GitHub Desktop.

Select an option

Save smallgeek/4239674 to your computer and use it in GitHub Desktop.
MainActivity
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace TurtleGraphics
{
[Activity(Label = "TurtleGraphics", MainLauncher = true, Icon = "@drawable/icon", ScreenOrientation = Android.Content.PM.ScreenOrientation.Landscape)]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
var view = new KochView(this);
SetContentView(view);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment