title: ListView OnClickListener
body: <p>Here is my problem:</p>
  
  <p>I have a chatapplication and the messages are displayed in a ListView. The ListView fills a specific part of the screen.
  If the user clicks on the ListView a dialog for input should be displayed. My problem is that I can only recognize clicks on the ListView with an onItemClickListener, but when the app starts there are no items to click on in the ListView.</p>
  
  <p>I thought about a button upon the ListView:</p>
  
  <pre><code>&lt;FrameLayout
  android:layout_height="fill_parent"
  android:layout_width="fill_parent"
  android:orientation="vertical"
  android:layout_marginTop="10dip"
  &gt;
  
    &lt;ListView 
    android:layout_height="fill_parent" 
    android:layout_width="fill_parent" 
    android:id="@+id/ver_list" 
    android:stackFromBottom="true"
    android:cacheColorHint="#00000000"
    android:transcriptMode="alwaysScroll"&gt;
    &lt;/ListView&gt;
  
    &lt;Button 
     android:layout_height="fill_parent" 
     android:layout_width="fill_parent" 
     android:id="@+id/ver_listbutton" 
     android:background="@null"&gt;&lt;/Button&gt; &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Now I can recognize clicks on the space of the ListView with the Button upon it.</p>
  
  <p>But with the FrameLayout I can not scroll the ListView anymore, because it is below the Button.</p>
  
  <p>Does anyone have a solution for this?</p>