title: onItemClickListener on PreferenceActivity
body: <p>Im trying to retrieve the position of the pressed button, in a list of <code>Preference</code>.
  My class extends <code>PreferenceActivity</code>.
  This is my code:</p>
  
  <pre><code>ListView listView = getListView();
      listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          public void onItemClick(AdapterView&lt;?&gt; av, View view, int i, long l) {
              Toast.makeText(Activity.this, "myPos "+i, Toast.LENGTH_LONG).show();
          }
      });
  </code></pre>
  
  <p>My XML goes like this</p>
  
  <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
          &lt;Preference
          android:key="key1"
          android:title="string1"
          android:summary="summary1"
          android:icon="@drawable/someicon"/&gt;
          &lt;Preference
          android:key="key2"
          android:title="string2"
          android:summary="summary2"
          android:icon="@drawable/someicon2"/&gt;
          ...
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>Im getting nothing on toast, so onItemClickListener is not being invoked.</p>
  
  <p>Thanks in Advance.</p>
  
  <p>EDIT: Thanks for not answering, that way I answered myself :D</p>