title: Two questions about Master/Detail Flow Template
body: <p>I've just taken a look at the Master/Detail Flow template and I can't figure 2 things out.</p>
  
  <p>1) Why does it require Android version 11 when the code it generates seems to use the Fragment compatibility support? In particular, why can't you generate templates that run off Android version 8? (e.g. this import)</p>
  
  <pre><code>import android.support.v4.app.FragmentActivity;
  </code></pre>
  
  <p>2) How does the main Activity know whether to show the details in a new Activity or in the details pane if it's big enough? It seems to do it via this code:</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_item_list);
  
      if (findViewById(R.id.item_detail_container) != null) {
          mTwoPane = true;
          ((ItemListFragment) getSupportFragmentManager()
                  .findFragmentById(R.id.item_list))
                  .setActivateOnItemClick(true);
      }
  }
  </code></pre>
  
  <p><code>setContentView(R.layout.activity_item_list);</code> sets the layout to a <code>ListFragment</code> which just sets its own adapter but I can't see how <code>findViewById(R.id.item_detail_container) != null</code> will ever return true since it never seems to be opened/inflated.</p>
  
  <p>Any clues?</p>