Problem with my setListAdapter()
<p>I don't know what's going on I first posted this in a class that extends Activity. But even after changing it to a ListActivity it still doesn't work. I'll dumb it down to where I think the problem is. </p>

<pre><code>public class PassScreen extends ListActivity {
String[] items = {"lorem","ipsum", "dolor"};// I have it calling an xml file but switched it to this just to see if that was the problem.
setContentView(R.layout.passwordscreen);
setListAdapter(new ArrayAdapter&lt;String&gt;(this,
            android.R.layout.simple_list_item_1,
            items));
</code></pre>

<p>I don't get what's wrong. This is what my book uses. I checked to make sure the xml file displays the proper ListView and it does. But here it is anyway:</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="fill_parent"
android:layout_height="fill_parent"&gt;

&lt;TextView
android:id="@+id/selection"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/&gt;

&lt;ListView
  android:id="@android:id/list"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:drawSelectorOnTop="false"/&gt;

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