title: Getting errors while setting up Android.Support.V4.App.Fragments
body: <p>I have a problem. I am trying to setup fragments using Android.SupportV4.App.Fragments. This is my code so far:</p>
  
  <pre><code>Android.Support.V4.App.Fragment fragment = null;
  Android.Support.V4.App.Fragment PreviousFragment = null;
  
  switch (CurrentFragmentNum)
  {
      case 1:
          fragment = ShapeSelectionFragment;
          break;
      case 2:
          fragment = ShapeFormationFragment;
          break;
  }
  
  switch (PreviousFragmentNum)
  {
      case 1:
          PreviousFragment = ShapeSelectionFragment;
          break;
      case 2:
          PreviousFragment = ShapeFormationFragment;
          break;
  }
  
  
  var trans = SupportFragmentManager.BeginTransaction();
  trans.SetCustomAnimations(Resource.Animation.slide_in_left,
                  Resource.Animation.slide_out_right, 0, 0);
  trans.Replace(Resource.Id.fragmentContainer, fragment);
  trans.Hide(PreviousFragment);
  trans.Show(fragment);
  trans.AddToBackStack(null);
  trans.Commit();
  </code></pre>
  
  <p>Now let's just start with the first error on this line: <code>var trans = SupportFragmentManager.BeginTransaction();</code> with the error: </p>
  
  <blockquote>
    <p>The name 'SupportFragmentManager' does not exist in the current
    context</p>
  </blockquote>
  
  <p>How can I fix this error?</p>