public override void OnCreate(Bundle p0) { base.OnCreate(p0); // Create your application here SetContentView(Resource.Layout.Main); SetBehindContentView(Resource.Layout.Menu); SupportFragmentManager.BeginTransaction() .Add(Resource.Id.fragment_container, new AboutFragment()) .Commit(); SupportFragmentManager.BeginTransaction() .Add(Resource.Id.menu_fragment_container, new MenuFragment()) .Commit(); // Setup action bar SupportActionBar.SetDisplayHomeAsUpEnabled(true); // Setup the sliding menu SlidingMenu.SetShadowWidthRes(Resource.Dimension.SlidingMenuShadowWidth); SlidingMenu.SetShadowDrawable(Resource.Drawable.SlidingMenuShadow); SlidingMenu.SetBehindOffsetRes(Resource.Dimension.SlidingmenuOffset); SlidingMenu.SetFadeDegree(0.35f); SlidingMenu.TouchModeAbove = Com.Slidingmenu.Lib.SlidingMenu.TouchmodeFullscreen; }