title: Accessing @android:id/list ListView from code
body: <p>In my Android application, I add a ListView element (for example) in the main.xml layout file this way:</p>
  
  <pre><code>&lt;ListView android:id="@+id/myList"&gt;
  </code></pre>
  
  <p>Then I can access it from my MainActivity using:</p>
  
  <pre><code>final ListView resultList = (ListView) findViewById(R.id.myList);
  </code></pre>
  
  <p>But how can I access such a ListView if I use the following ID in the layout file?</p>
  
  <pre><code>&lt;ListView android:id="@android:id/list"&gt;
  </code></pre>
  
  <p>I want to access it from my MainActivity (which extends ListActivity).</p>
  
  <p>Thanks in advance!</p>