title: How to move up my controls when they would be hidden by the soft keyboard?
body: <p>OK, so I have this very basic layout:</p>
  
  <p><img src="https://content.screencast.com/users/DanHil/folders/Jing/media/78a650ea-39db-4f3f-ae43-3e261fa631d9/2014-02-26_1353.png" alt="">  </p>
  
  <p>As you can see, the edit texts and the login button are centered in the area below the icon. They are not aligned with the bottom. And I want to keep it this way.</p>
  
  <p>Now, when the soft keyboard is shown, all I want is that the whole view is pushed upwards, so that the login button is above the soft keyboard but takes into account its lower margin.</p>
  
  <p>My activity has <code>windowSoftInputMode</code> set to <code>adjustPan</code>, but it just assures that the currently focused control is visible, not all three of them:</p>
  
  <p><img src="https://content.screencast.com/users/DanHil/folders/Jing/media/a77fbdc2-a511-44ce-b236-5787784b9647/2014-02-26_1353.png" alt=""></p>
  
  <p><strong>Question:</strong> What do I need to change so that all three controls are visible as soon as the keyboard is visible?</p>
  
  <p>This is my view:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:local="http://schemas.android.com/apk/res/Recson.Apps.Android"
      style="@style/Theme.Recson.NoActionBar"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:id="@+id/LoginViewRoot"&gt;
      &lt;ImageView
          android:src="@drawable/Logo"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:id="@+id/Icon"
          android:layout_marginBottom="30dp"
          android:layout_marginTop="30dp"
          android:layout_gravity="top" /&gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/Credentials"
          android:layout_gravity="center_vertical"
          android:gravity="center_vertical"
          android:layout_below="@id/Icon"&gt;
          &lt;EditText
              android:inputType="textEmailAddress"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              local:MvxBind="Text Username"
              android:hint="@string/Username"
              android:layout_marginLeft="30dp"
              android:layout_marginRight="30dp"
              android:textColorHint="@color/text_hint" /&gt;
          &lt;EditText
              android:inputType="textPassword"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              local:MvxBind="Text Password"
              android:hint="@string/Password"
              android:layout_marginLeft="30dp"
              android:layout_marginRight="30dp"
              android:textColorHint="@color/text_hint" /&gt;
          &lt;Button
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="@string/Login"
              local:MvxBind="Click Login;Enabled CanLogin"
              android:layout_marginLeft="30dp"
              android:layout_marginRight="30dp"
              android:layout_marginTop="20dp"
              android:layout_marginBottom="30dp" /&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>