title: Android: how to avoid soft keyboard pushing up my layout?
body: <p>This is my layout:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
  
      &lt;include layout="@layout/include_toolbar_actionbar"/&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/background"
          android:paddingTop="@dimen/keyline_5"
          android:paddingRight="@dimen/keyline_2"
          android:paddingLeft="@dimen/keyline_2"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:id="@+id/title"
              style="@style/FlatCardTitle"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="TITLE" /&gt;
  
          &lt;EditText
              android:id="@+id/content"
              android:inputType="textMultiLine"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="@dimen/keyline_1"
              android:layout_marginBottom="@dimen/keyline_4"
              android:lines="16"
              android:minLines="4"
              android:maxLines="16"
              android:scrollbars="vertical"/&gt;
  
      &lt;/LinearLayout&gt;
  
  &lt;/LinearLayout&gt;
  
  &lt;include layout="@layout/include_visibility_right_editor" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The layout "include_visibility_right_editor" must be always at the bottom. Unfortunately, when the soft keyboard appears, all the layout is pushing up...</p>
  
  <p>Thank for your help guys!</p>