title: Problems with EditText and soft keyboard in a fragment
body: <p>I'm currently building an android application that enables users to take pictures and write details of it. The application uses Sherlock libraries.</p>
  
  <p>I've implemented a SherlockFragment to display the image and a few EditText and TextView to enable users to key in information of the image. However, when one of the EditText is on focus, all the fields are pushed up and the soft keyboard pops up. </p>
  
  <p>Here is my layout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/linear"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical" 
      android:background="#FFFFFF"&gt;
  
      &lt;ImageView
          android:id="@+id/imageView1"
          android:layout_width="fill_parent"
          android:layout_height="200dip"
          android:layout_above="@+id/textView"
          android:layout_marginTop="20dip"
          android:layout_marginBottom="20dip"
          android:contentDescription="desc" /&gt;
  
      &lt;TextView
          android:id="@+id/textView"
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:text="Title:"
          android:textStyle="bold"
          android:layout_above="@+id/editTextSimple" 
          android:layout_marginBottom="2dip"
          android:textSize="15sp"/&gt;
  
       &lt;EditText
          android:id="@+id/editTextSimple"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_above="@+id/textView1"
          android:layout_marginBottom="4dip"&gt;
          &lt;requestFocus /&gt;
      &lt;/EditText&gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content" 
          android:layout_height="wrap_content" 
          android:text="Description:"
          android:textStyle="bold"
          android:layout_above="@+id/editTextSimple1" 
          android:layout_marginBottom="2dip"
          android:textSize="15sp"/&gt;
  
      &lt;EditText
          android:id="@+id/editTextSimple1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_above="@+id/textView2"  
          android:layout_marginBottom="12dip"&gt;
      &lt;/EditText&gt;
  
      &lt;Button android:textColor="#FF000000" 
          android:id="@+id/submitButton" 
          android:text="@string/memorySubmit" 
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:layout_marginBottom="24dip"
          android:onClick = "submit"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>From what I understand, in an activity, one have to place this <code>&lt;activity android:windowSoftInputMode="...." &gt;</code> in the Android Manifest to adjust the view when the soft keyboard is called upon. However, how do we set this for fragments?</p>