Problem when receiving focus on a list (Android)
<p>I have the following XML layout for a ListActivity.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 android:orientation="vertical" android:layout_width="fill_parent"
 android:layout_height="fill_parent"&gt;
</code></pre>

<p>
  <br>
  </p>

<p></p>

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

 &lt;TextView android:id="@+id/android:empty"
  android:layout_width="fill_parent" android:layout_height="fill_parent"
  android:text="No Contacts" /&gt;

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

<p>My problem is that if I have focus on any of the header <code>ImageButton</code>s then when pressing down with the dpad the list <b>get focus on its 7th row</b> (depending on row height), <b>and not on the first row</b>. I've seen the same behavior on Fring application, under Contacts.</p>

<p>I tried by listening for the OnKey event for the <code>KeyEvent.KEYCODE_DPAD_DOWN</code> and triggering a implicit focus on the first item of the list, but I don't know how to do it either.</p>

<p>Do you have any idea on how to focus the first row of the List when getting the focus with a  KeyEvent?</p>
