title: What id to put in fragmentTransaction.replace() method argument?
body: <p>I am trying to call fragment from fragment.</p>
  
  <p>I am using following code:</p>
  
  <pre><code>Fragment fragment = new TeamDetails3();
  
                  FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
                  fragmentTransaction.replace(R.id.frame_container, fragment);
                  fragmentTransaction.commit();
  </code></pre>
  
  <p>My current fragment layout is <code>team_details3.xml</code> and the fragment which i am calling has layout <code>team_details4.xml</code>. I also tried putting</p>
  
  <pre><code>fragmentTransaction.replace(R.id.team_details4, fragment);
  fragmentTransaction.replace(R.id.team_details3, fragment);
  </code></pre>
  
  <p>but they show error</p>
  
  <p>I am getting these errors if i put <code>fragmentTransaction.replace(R.id.frame_container, fragment)</code>-</p>
  
  <pre><code>No view found for id 0x7f080159 (com.pepup.league:id/frame_container) for fragment TeamDetails3{41916708 #1 id=0x7f080159}
              at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:930)
              at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1115)
              at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
              at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1478)
              at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:446)
              at android.os.Handler.handleCallback(Handler.java:615)
              at android.os.Handler.dispatchMessage(Handler.java:92)
              at android.os.Looper.loop(Looper.java:153)
              at android.app.ActivityThread.main(ActivityThread.java:5086)
              at java.lang.reflect.Method.invokeNative(Native Method)
              at java.lang.reflect.Method.invoke(Method.java:511)
              at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
              at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
              at dalvik.system.NativeStart.main(Native Method)
  08-22 12:07:49.420      347-363/? E/AppErrorDialog﹕ Failed to get ILowStorageHandle instance
  </code></pre>