ListView not responding to Click or KeyPress
<p>I have a simple ListView in my layout.xml file.</p>

<pre><code>&lt;ListView android:id="@+id/action_list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" /&gt;
</code></pre>

<p>And in my javacode, I add a setOnItemClickListener() to my listview:</p>

<pre><code>listView.setOnItemClickListener(new OnItemClickListener() {
    public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
        System.out.println ("get onItem Click position= "+position);
    }
});
</code></pre>

<p>But when I run on G1. I don't see any print out when I click an item on the ListView on the phone.
Or when I select an item using track ball and press CENTER.</p>

<p>Can you please tell me why to resolve my problem?</p>

<p>Thanks in advance.</p>
