title: android - ScrollView doesn't scroll when keyboard is up
body: <p>I have the following xml file in Android Studio:</p>
  
  <p>activity_register.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/register"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      tools:context="mk.klikniobrok.klikniobrok.RegisterActivity"&gt;
  
      &lt;ScrollView
          android:id="@+id/ScrollView01"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:paddingBottom="48dp"&gt;
  
  
          &lt;RelativeLayout
              android:id="@+id/content"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="@dimen/layout_top_margin"
              android:orientation="vertical"
              android:paddingLeft="@dimen/activity_horizontal_margin"
              android:paddingRight="@dimen/activity_horizontal_margin"
              android:paddingTop="@dimen/activity_vertical_margin"&gt;
  
              &lt;LinearLayout
                  android:id="@+id/input"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_centerHorizontal="true"
                  android:orientation="vertical"&gt;
  
  
                  &lt;EditText
                      android:id="@+id/name"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/name_hint"
                      android:inputType="text"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
                  &lt;EditText
                      android:id="@+id/username"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/user_hint"
                      android:inputType="text"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
                  &lt;EditText
                      android:id="@+id/password"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/pass_hint"
                      android:inputType="textPassword"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
                  &lt;EditText
                      android:id="@+id/repeatPwd"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/repeatPwd_hint"
                      android:inputType="textPassword"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
                  &lt;EditText
                      android:id="@+id/email"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/email_hint"
                      android:inputType="textEmailAddress"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
                  &lt;EditText
                      android:id="@+id/phone"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="@string/phone_hint"
                      android:inputType="phone"
                      android:paddingBottom="8dp"
                      android:paddingTop="8dp"
                      android:textSize="@dimen/input_text_size" /&gt;
  
              &lt;/LinearLayout&gt;
          &lt;/RelativeLayout&gt;
      &lt;/ScrollView&gt;
  
      &lt;LinearLayout
          android:id="@+id/footer"
          android:layout_width="match_parent"
          android:layout_height="48dp"
          android:layout_alignParentBottom="true"
          android:background="@color/colorPrimary"
          android:gravity="end"
          android:orientation="horizontal"
          android:paddingBottom="2dp"
          android:paddingLeft="8dp"
          android:paddingRight="8dp"
          android:paddingTop="2dp"&gt;
  
          &lt;Button
              android:id="@+id/registerButton"
              style="@style/RobotoBoldButtonStyle"
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:background="@drawable/ripple_transparent"
              android:text="РЕГИСТРИРАЈ СЕ"
              android:textSize="16sp" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>When the keyboard is not up I can see every element but whenever the keyboard comes up the ScrollView does not scroll down to reveal the covered elements. I have read through StackOverflow and added android:windowSoftInputMode="stateHidden|adjustResize" to the AndroidManifest.xml but it still does not work.</p>
  
  <p>What happens to be the problem and how can I fix it?</p>