How to disable the focus of listheader and footer?
<p>I am working on android applications. In my page I kept listheader,listview and listfooter. I had disabled the focus of listview but when i am trying to disable the header and footer it is not appying ?</p>

<p>MyCode:</p>

<p>For listview I had disabled the focus by giving</p>

<pre><code>lvAdapter adapter = new lvAdapter(this,list){
public boolean areAllItemsEnabled() {
    return false; }

public boolean isEnabled(int position) {
return false;      }    };
</code></pre>

<p><strong>listheader.xml</strong> 
I have changed in my xml file by giving <strong>focusable=false</strong> in <strong>textview</strong></p>

<pre><code> &lt;TextView
            android:id="@+id/text1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:textColor="#000000"
            android:focusable="false"
            android:clickable="false"
            android:enabled="false"
            android:textSize="12dip" &gt;
    &lt;/TextView&gt;
</code></pre>

<p><strong>listfooter.xml</strong> 
I have changed in my xml file by giving <strong>focusable=false</strong> in <strong>textview</strong></p>

<pre><code>&lt;TextView
        android:id="@+id/text2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:textColor="#000000"
        android:focusable="false"
        android:clickable="false"
        android:enabled="false"
        android:textSize="12dip" &gt;
&lt;/TextView&gt;
</code></pre>

<p>But even then the focus of header and footer had not disabled. Pleae help me regarding this
Thanks in advance...</p>
