title: Recyclerview show wrong when the keyboard open
body: <p>Hi I have the next problem:</p>
  
  <p>I have 3 textviews and a RecyclerView below. When I touch one of them, the keyboard appear and the content of the RecyclerView hide. I check al the linear layout become moved.</p>
  
  <p>Here is my xml:</p>
  
  <pre><code>&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:card_view="http://schemas.android.com/apk/res-auto"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:theme="@style/ThemeOverlay.AppCompat.Dark"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
      &lt;/android.support.v7.widget.Toolbar&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:padding="16dp"
      android:gravity="center"&gt;
  
      &lt;android.support.v7.widget.CardView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          card_view:cardElevation="2dp"
          card_view:cardUseCompatPadding="true"
          card_view:cardPreventCornerOverlap="true"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical"
              android:padding="8dp"&gt;
  
              &lt;android.support.design.widget.TextInputLayout
                  android:id="@+id/input_layout_name"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
  
                  &lt;EditText
                      android:id="@+id/text_view_name"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      style="@style/EditText"
                      android:hint="@string/name"
                      android:inputType="text"/&gt;
              &lt;/android.support.design.widget.TextInputLayout&gt;
  
              &lt;android.support.design.widget.TextInputLayout
                  android:id="@+id/input_layout_description"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"&gt;
  
                  &lt;EditText
                      android:id="@+id/text_view_description"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      style="@style/EditText"
                      android:hint="@string/tournament_description"
                      android:inputType="text"
                      /&gt;
              &lt;/android.support.design.widget.TextInputLayout&gt;
  
              &lt;LinearLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:orientation="horizontal"&gt;
  
                  &lt;android.support.design.widget.TextInputLayout
                      android:id="@+id/input_layout_sport"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_weight="1"&gt;
  
                      &lt;EditText
                          android:id="@+id/text_view_sport"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          style="@style/EditText"
                          android:hint="@string/sport"
                          android:inputType="text"
                          /&gt;
                  &lt;/android.support.design.widget.TextInputLayout&gt;
  
                  &lt;android.support.design.widget.TextInputLayout
                      android:id="@+id/input_layout_max_players"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_weight="2"&gt;
  
                      &lt;EditText
                          android:id="@+id/text_view_max_players"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          style="@style/EditText"
                          android:hint="@string/max_players"
                          android:inputType="number"
                          /&gt;
                  &lt;/android.support.design.widget.TextInputLayout&gt;
  
              &lt;/LinearLayout&gt;
  
              &lt;android.support.v7.widget.RecyclerView
                  android:id="@+id/recycler_view"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"/&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/android.support.v7.widget.CardView&gt;
  
      &lt;Button
          android:id="@+id/button_add_tournament"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="@string/add"
          android:background="@color/colorAccent"
          android:textColor="@android:color/white"
          android:layout_marginTop="20dp"
          android:elevation="2dp" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p><a href="https://i.stack.imgur.com/usYTJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/usYTJ.png" alt="enter image description here"></a></p>