title: SoftKeyboard hiding EditText
body: <p>I have a layout that uses an EditText to let users search a database and populate a ListView.  The EditText is about 2/3 of the way from the top of the screen (positioned over an ImageView, and followed by some intro text.)</p>
  
  <p>The problem is that the soft keyboard hides the EditText, so the user can't see what he's typing.  (I disabled the auto-suggest.)</p>
  
  <p>I've tried LinearLayout, RelativeLayout, paddings, and different alignments/centerings, but I still can't get it to work right.  The EditText is either hidden, gets pushed off the top of the screen, or get "squished" and distorted.</p>
  
  <p>Suggestions???</p>
  
  <p>One possible workaround is to move the EditText to the top of the screen.  However, this deviates from the graphic design that I was given.</p>
  
  <p>Another possible workaround is for me to make the soft keyboard open in full screen (not sure how, though).  This will still hide the EditText, but then I can re-enable the auto-suggestion so the user can see what he's typing... sort of... because he can only see the <em>suggestions</em> for what he's typing.</p>
  
  <p>Here's my latest attempt.  See "introFrame".</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="wrap_content" 
   android:layout_height="fill_parent"
   android:orientation="vertical"&gt;
  
   &lt;LinearLayout android:id="@+id/titleContainer"
    android:orientation="horizontal" android:layout_width="fill_parent"
    android:layout_height="wrap_content"&gt;
    &lt;TextView android:text="@string/title_string"
     android:textSize="15sp" android:textColor="#FFFFFF"
     android:textStyle="bold" android:paddingLeft="5dp"
     android:layout_height="fill_parent" android:layout_width="wrap_content" /&gt;
   &lt;/LinearLayout&gt;
  
   &lt;FrameLayout 
   android:id="@+id/introFrame"
   android:layout_width="fill_parent" 
   android:layout_height="wrap_content"
   android:gravity="center_horizontal" &gt;
   &lt;ImageView 
    android:src="@drawable/main_search_image"
    android:scaleType="center"
    android:layout_gravity="center"
    android:layout_height="wrap_content"
    android:layout_width="wrap_content"/&gt;
   &lt;LinearLayout
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center"
    android:paddingTop="140dp" &gt;
    &lt;LinearLayout android:id="@+id/introSearchContainer"
     android:orientation="horizontal" 
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="center_vertical" &gt;
     &lt;LinearLayout 
      android:orientation="horizontal"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight="1" &gt;
      &lt;EditText android:id="@+id/intro_search_box" 
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:hint="     Enter keyword     " 
       android:imeOptions="actionGo"   
       android:inputType="textFilter" 
       android:maxLines="1" /&gt;
     &lt;/LinearLayout&gt;
     &lt;LinearLayout 
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
      &lt;Button android:id="@+id/intro_search_button" 
       android:background="@drawable/custom_button_go"
       android:layout_width="wrap_content" 
       android:layout_height="wrap_content" /&gt;
      &lt;/LinearLayout&gt;
    &lt;/LinearLayout&gt;
    &lt;TextView
     android:text="@string/search_intro"
     android:textSize="15sp"
     android:textColor="#FFFFFF"
     android:layout_height="wrap_content"
     android:layout_width="fill_parent" /&gt; 
   &lt;/LinearLayout&gt;
   &lt;/FrameLayout&gt;
  
   &lt;LinearLayout android:id="@+id/listContainer"
    android:orientation="vertical" android:layout_width="fill_parent"
    android:layout_height="fill_parent"&gt;
    &lt;ListView android:id="@+id/itemlist" android:layout_width="wrap_content"
     android:layout_height="wrap_content" android:cacheColorHint="#00000000" /&gt;
    &lt;TextView android:text="No data found" android:layout_width="fill_parent"
     android:layout_height="fill_parent" android:gravity="center"
     android:textSize="16sp" android:textColor="#FFFFFF" android:id="@+id/android:empty" /&gt;
   &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>