title: Android: Views within scroll view are hidden by keyboard
body: <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:fillViewport="true"&gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;VideoView
                  android:id="@+id/uploadedVideo"
                  android:layout_width="match_parent"
                  android:layout_height="224dp" /&gt;
  
              &lt;TextView
                  android:id="@+id/tvPath"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_below="@id/uploadedVideo"
                  android:padding="5dp"
                  android:lines="1"
                  android:hint="choose video"/&gt;
  
              &lt;EditText
                  android:id="@+id/etTitle"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_below="@id/tvPath"
                  android:hint="Your title here"/&gt;
  
              &lt;EditText
                  android:id="@+id/etDescription"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_below="@id/etTitle"
                  android:hint="Your description here"/&gt;
  
              &lt;Button
                  android:id="@+id/btnUpload"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:text="upload"/&gt;
  
          &lt;/RelativeLayout&gt;
  
      &lt;/ScrollView&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I created a layout as above. The problem here is, when I click the edit texts and the keyboard comes out, the scroll view is stretched only little so the edit texts are hidden by the keyboard. The button moves above the keyword, but again it's the two edit texts that are hidden by the keyboard.</p>