XML listview issue
<p>Trying to set a listview up with the results of my database query.</p>

<p>Anyway, I'm getting a weird XML refrence id error from my listview. Can anyone see the issue here? Im guessing its the '@id' reference causing the problem?</p>

<p>Heres my 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" &gt;

&lt;ListView
    android:id="@+id/contentList"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" &gt;
&lt;/ListView&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>And my java class:</p>

<p>The error is on the 'R.id.conactList'.</p>

<pre><code>ListView listContent = (ListView)findViewById(R.id.contentList);
</code></pre>
