title: Android - Soft Keyboard pushes layout of my activity out of screen
body: <p>My activity's layout is as shown below.</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:orientation="vertical"&gt;
  
     &lt;FrameLayout android:id="@+id/title_bar"
        android:layout_width="fill_parent"
        android:layout_height="25dip"
        android:background="@drawable/bg_title" /&gt;
  
     &lt;LinearLayout android:id="@+id/main"
        android:width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"&gt;
           &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" /&gt;
        &lt;/FrameLayout&gt;
     &lt;/LinearLayout&gt;
  
     &lt;LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="50dip" &gt;
        &lt;EditText android:id="@+id/query"
           android:layout_width="fill_parent"
           android:layout_height="wrap_content" 
           android:hint="Enter some search terms"
           android:singleLine="true" 
           android:layout_weight="1" /&gt;
        &lt;Button android:id="@+id/btn_hide"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:background="@drawable/btn_hide"
           android:layout_marginLeft="6dip" /&gt;
     &lt;/LinearLayout&gt;
   &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>So, the search box is fixed to the bottom of the screen. </p>
  
  <p>But, when user clicks the EditText, Soft Keyboard shows up and pushes the layout out of the screen except the search box.</p>
  
  <p>I'm just starting out with Android, so am I doing anything wrong here??</p>