title: Fragment replaced still visible on background
body: <p>I'm trying to replace one fragment with another one using new navigation drawer pattern. It seems to work but when I choose another option from drawer the new fragment is loaded but both fragments are visible. I'm not using static fragment layout so I don't know where is the problem.</p>
  
  <p>Fragments are loaded through <code>onItemClick</code> method implementing <code>AdapterView.OnItemClickListener</code> on my activity.</p>
  
  <pre><code>@Override
  public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
      Fragment fragmentToShow = null;
      // Load desired fragment
      switch (position) {
          case 0: // Authors
              if (fragmentAuthors == null) fragmentAuthors = new FragmentAuthors();
              fragmentToShow = fragmentAuthors;
              break;
          case 1: // Books
              if (fragmentBooks == null) fragmentBooks = new FragmentBooks();
              fragmentToShow = fragmentBooks;
              break;
      }
      FragmentTransaction ft = fragmentManager.beginTransaction();
      ft.replace(R.id.ActivityMain_Drawer_FrameMain, fragmentToShow);
      ft.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE);
      ft.commit();
      mDrawerLayout.closeDrawers();
  }
  </code></pre>
  
  <p>Layout
      </p>
  
  <pre><code>&lt;!-- The main content view --&gt;
  &lt;FrameLayout
      android:id="@+id/ActivityMain_Drawer_FrameMain"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@android:color/background_light" /&gt;
  
  &lt;!-- The navigation drawer --&gt;
  &lt;FrameLayout
      android:id="@+id/ActivityMain_Drawer_FrameMenu"
      android:layout_width="240dp"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      android:background="@android:color/background_light"&gt;
      &lt;ListView
          android:id="@+id/ActivityMain_Drawer_FrameMenu_List"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:choiceMode="singleChoice"
          android:divider="@android:color/transparent"
          android:dividerHeight="0dp" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Screenshots</p>
  
  <p><a href="https://dl.dropboxusercontent.com/u/1763308/Screenshots/device-2013-05-27-113128.png" rel="noreferrer">https://dl.dropboxusercontent.com/u/1763308/Screenshots/device-2013-05-27-113128.png</a>
  <a href="https://dl.dropboxusercontent.com/u/1763308/Screenshots/device-2013-05-27-113139.png" rel="noreferrer">https://dl.dropboxusercontent.com/u/1763308/Screenshots/device-2013-05-27-113139.png</a></p>