listview with virtual keypad shown in android
<p>I have edittext view and listview  in activity if user click the edittext virtual keypad  arrived at the time my screen layout is going up.If virtual keypad hide at the time my screen is going down How to avoid that I want layout to be in same posistion and show virtual keypad to user the above layout .I used listview in layout so only layout is moving up   can anybody tell how to avoid layout moving up using list view?
this is my layout file</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:background="@color/white"  android:id="@+id/mainrelativelayout"  android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; 
&lt;TableLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@color/white"&gt;
  &lt;TableRow&gt;
  &lt;EditText android:layout_column="0" android:focusable="true" android:focusableInTouchMode="true" android:id="@+id/edtsearch" android:singleLine="true" android:hint="Enter company name or ticker" android:layout_width="300dip" android:layout_height="40dip" android:textSize="13dip" android:textColor="@color/gray1"&gt;&lt;/EditText&gt;
&lt;ImageView android:layout_column="1" android:src="@drawable/clearbutton"  android:paddingTop="5dip" android:id="@+id/imgsearch" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/ImageView&gt;
  &lt;/TableRow&gt;
  &lt;TableRow&gt;
  &lt;ListView android:layout_column="0" android:layout_span="2" android:id="@+id/lstcontent" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/ListView&gt;
  &lt;/TableRow&gt;

  &lt;/TableLayout&gt;
  &lt;TableLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="30dip"
  android:id="@+id/imglinear"
  android:background="@color/white"
  android:layout_alignParentBottom="true"
  android:paddingTop="5dip"
  android:orientation="horizontal"
  &gt;
  &lt;TableRow&gt;
&lt;ImageView android:id="@+id/ImageView15" android:paddingRight="20dip" android:layout_gravity="left" android:src="@drawable/questbutton"  android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/ImageView&gt;
&lt;/TableRow&gt;
&lt;/TableLayout&gt;

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

<p>any help would be appreciated</p>

<p>even I gave in androidmanifest.xml</p>

<pre><code>android:windowSoftInputMode="adjustPan|adjustResize"
</code></pre>

<p>that is not working</p>

<p>Thanks</p>
