protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); //set the view SetContentView (Resource.Layout.Main); } }