title: What is a rootView?
body: <p>Hello I'm new in Android and I've opened a project with the default template <strong>Master detail flow</strong> but I don't know what is a <strong>rootView</strong>. I've search on developer.android.com but I don't really understood it ...</p>
  
  <p>So if someone can explain me clearly what's this thing doing it would help me a lot.</p>
  
  <p>Thanks !</p>
  
  <p>Edit : there is the code !</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      if (getArguments().containsKey(ARG_ITEM_ID)) {
          mItem = DummyContent.ITEM_MAP.get(getArguments().getString(ARG_ITEM_ID));
      }
  }
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
      View rootView = inflater.inflate(R.layout.fragment_item_detail, container, false);
      if (mItem != null) {
          mLinearLayout = (LinearLayout)findViewById(R.id.layout); 
      }
      return rootView;
  }
  </code></pre>