title: XML android:windowSoftInputMode isn't working exactly how I want
body: <p>I have a simple layout, shown below:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" &gt;
  
      &lt;ScrollView
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:fadeScrollbars="false"
          android:gravity="center_vertical" &gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:lineSpacingMultiplier="1.2" /&gt;
      &lt;/ScrollView&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          android:descendantFocusability="beforeDescendants"
          android:focusableInTouchMode="true"
          android:orientation="vertical" &gt;
  
          &lt;EditText
              android:layout_width="match_parent"
              android:layout_height="290dp"
              android:ems="10"
              android:gravity="top" /&gt;
  
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Submit"/&gt;
      &lt;/LinearLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Basically, there is a <code>TextView</code> inside of a <code>ScrollView</code> that states a question, and I want the user to type the answer inside the <code>EditText</code>.</p>
  
  <p>In my <code>AndroidManifest</code>, I've included the following:</p>
  
  <pre><code>&lt;activity
      android:screenOrientation="portrait"
      android:windowSoftInputMode="???" &gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>Where the "???" is, I've tried using the following: <code>adjustPan</code>, <code>adjustResize</code>, and <code>adjustPan|adjustResize</code>.</p>
  
  <p>With <code>adjustPan</code> and <code>adjustResize</code>, I'm experiencing the same thing: when I type and the text gets out of view, the screen automatically scrolls down so the keyboard doesn't cover the text being typed. The problem here, however, is that when I try to highlight the typed text to select all, copy, cut, or paste, the copy/cut/paste menu bar that normally appears on top can't be reached because it's been scrolled out of view. If I try to manually reach that menu bar, then the text no longer gets highlighted.</p>
  
  <p>With <code>adjustPan|adjustResize</code>, the copy/cut/paste menu bar stays happily within view and within reach, but if I type too much, the typed text eventually gets obscured by the keyboard.</p>
  
  <p>So how can I still type where the typed text never gets obscured, and still have the copy/cut/paste menu bar follow along and allow me to make occasional edits as needed?</p>