Android:Footer with Linear Layout comes up when Soft Key Board is open
<p>My app contains header,edittext,listview and footer 
It works fine...but when soft keyboard is open for edittext my footer comes up.</p>

<p>I had also set android:windowSoftInputMode="adjustPan" in manifest.</p>

<p>my layout is as below</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/middle_bg"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical" &gt;

&lt;RelativeLayout
android:id="@+id/header1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" &gt;

&lt;include
android:id="@+id/header2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
layout="@layout/header" /&gt;
&lt;/RelativeLayout&gt;

&lt;TableLayout
android:id="@+id/tbllayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/header1"
&gt;

&lt;TableRow
android:layout_gravity="left"
android:background="@drawable/tit_bg" &gt;

&lt;TextView
android:id="@+id/lbltit"
android:layout_gravity="center_vertical"
android:layout_weight="2"
android:gravity="center"
android:text="Registered Websites"
android:textSize="20dp"
android:textStyle="bold" /&gt;
&lt;Button
android:id="@+id/btnAddNewRege"
android:layout_gravity="center_vertical"
android:layout_weight="3"
android:background="@drawable/plus"
android:gravity="left" /&gt;
&lt;/TableRow&gt;

&lt;TableRow android:layout_width="fill_parent" &gt;

&lt;View
 android:id="@+id/vwhr1"
 android:layout_width="fill_parent"
 android:layout_height="10dip"
 android:layout_span="2" /&gt;
&lt;/TableRow&gt;

&lt;TableRow&gt;
&lt;EditText
android:id="@+id/txtSearch"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@drawable/roundedtextview"
android:hint="Search"
android:textSize="13dp"
android:width="280sp"
/&gt;

&lt;Button
android:id="@+id/btnSearchMain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/search"
android:gravity="center" /&gt;
&lt;/TableRow&gt;

&lt;TableRow android:layout_width="fill_parent" &gt;

&lt;View
android:id="@+id/vwhr"
android:layout_width="fill_parent"
android:layout_height="10dip"
android:layout_span="2" /&gt;
&lt;/TableRow&gt;
&lt;/TableLayout&gt;

&lt;LinearLayout
android:id="@+id/tblftr"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:isScrollContainer="true"
&gt;

&lt;TableLayout
android:id="@+id/btnpanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:stretchColumns="*" &gt;

&lt;TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/black"
&gt; 

&lt;Button
android:id="@+id/btnSetting"
android:layout_weight="1"
android:background="@drawable/settings"
android:width="40dp" /&gt;

&lt;Button
android:id="@+id/btnAboutUs"
android:background="@drawable/about_us"
android:width="100dp" /&gt;

&lt;Button
android:id="@+id/btnFeedback"
android:background="@drawable/feedback"
android:width="100dp" /&gt;
&lt;/TableRow&gt;

&lt;TableRow&gt; 
&lt;include
 android:id="@+id/include1"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_alignParentBottom="true"
 android:layout_gravity="bottom"
 layout="@layout/footer" /&gt;
 &lt;/TableRow&gt;
 &lt;/TableLayout&gt;
 &lt;/LinearLayout&gt;

 &lt;ListView
 android:id="@+id/lst"
 android:layout_width="fill_parent"
 android:layout_height="wrap_content"
 android:layout_above="@id/tblftr"
 android:layout_below="@id/tbllayout"
 android:cacheColorHint="@android:color/transparent"
 android:layout_centerHorizontal="true"      &gt;
 &lt;/ListView&gt;

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

<p>pls guide</p>

<p>Thanks &amp; Regards
Mita</p>
