findViewById(R.id.list) is not resolving?
<p>findViewById(R.id.list) is not resolving?</p>

<p>I'm getting the below error message:
R.id.list cannot be resolved.</p>

<p>I'm extending ListActivity and in the layout I have ListView android:id="@android:id/list"</p>

<pre><code>    public class Results extends ListActivity {
    static final String TAG = "Results";
    ListView m_lv;
    List&lt;Map&lt;String, String&gt;&gt; m_dataList = null;

    ListView lv;
    SimpleAdapter m_adapter;
    ProgressDialog m_dialog;
    AsyncTask&lt;String, String, String&gt; bg;
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.listviewparent);
    lv = (ListView) findViewById(R.id.list);
    lv = getListView();
</code></pre>

<p>Below is the listviewparent.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"&gt;
    &lt;LinearLayout style="@style/TitleBar"&gt;
        &lt;ImageButton style="@style/TitleBarAction"
            android:contentDescription="@string/description_home"
            android:src="@drawable/title_home"
            android:onClick="onClickHome" /&gt;
        &lt;ImageView style="@style/TitleBarSeparator" /&gt;
        &lt;TextView style="@style/TitleBarText" /&gt;
        &lt;ImageButton style="@style/TitleBarAction"
            android:contentDescription="@string/description_about"
            android:src="@drawable/title_about"
            android:onClick="onClickAbout" /&gt;
        &lt;ImageButton style="@style/TitleBarAction"
            android:contentDescription="@string/description_search"
            android:src="@drawable/title_search"
            android:onClick="onClickSearch" /&gt;
    &lt;/LinearLayout&gt;
 &lt;ListView android:id="@android:id/list"
        android:layout_width="fill_parent" android:layout_weight="1" android:layout_height="0px"/&gt;   
&lt;/LinearLayout&gt;
</code></pre>

<p>Any ideas?</p>

<p>Thanks in advance.</p>
