title: Android using both getFragmentManager and getSupportFragmentManager causes overlapping
body: <p>I have something like this inside my activity:</p>
  
  <pre><code>@Override
      public void onNavigationDrawerItemSelected(int position) {
          Fragment fragment = null;
          switch (position+1) {
              case 1: {
                  fragment = new Fragment_Login();
                  FragmentManager frgManager = getFragmentManager();
                  frgManager.beginTransaction().replace(R.id.container, fragment)
                          .commit();
                  break;
              }
              case 2: {
                  SwipeRefreshListFragment swipeFragment = new Fragment_List_Of_Assessments();
                  FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();
                  transaction.replace(R.id.container, swipeFragment)
                          .commit();
                  break;
              }
              case 3: {
                  fragment = new Fragment_Report();
                  FragmentManager frgManager = getFragmentManager();
                  frgManager.beginTransaction().replace(R.id.container, fragment)
                          .commit();
                  break;
              }
              case 4: {
                  fragment = new Fragment_Settings();
                  FragmentManager frgManager = getFragmentManager();
                  frgManager.beginTransaction().replace(R.id.container, fragment)
                          .commit();
                  break;
              }
              default:
                  break;
          }
      }
  </code></pre>
  
  <p>The program automatically loads case1, but when case2 is selected, getSupportFragmentManager loads the Fragment on top of case1. I guess there are some problem with using both supportFragmentManager and FragmentManager. They seem to have their own stack. The problem is that I cannot use only either one of them because the SwipeToRefresh Android example uses ListView which needs support.v4.Fragment which needs the old FragmentManager. So how is it possible to integrate both FragmentManagers together?</p>