title: CardView Scroll behavior when keyboard is up
body: <p>Our app's main content is a RecylerView of CardView's. For signup we require more than just a username/password to create an account so we decided to make the signup flow out of CardView's to match the user experience once they sign up. </p>
  
  <p>To do that I have a single Activity that animates fragments in from the bottom and existing fragments out the top to emulate scrolling. This fake scrolling occurs when the user enters data and hits next to advance. This works pretty well except for one case. When we have a EditText for input the keyboard comes up and covers the 'next' button on the bottom of the screen.</p>
  
  <p>In our user testing we've noticed a high percentage of users trying to scroll the card up to get to the next button instead of dismissing the keyboard. </p>
  
  <p>I've spent a lot of time unsuccessfully trying to get the CardView to scroll up to reveal the button and I'm out of ideas and looking for new ones.</p>
  
  <p>The signup Activity layout only contains a FrameLayout that I load Fragments into. Each fragment that gets loaded has a CardView for the root layout. </p>
  
  <p>In the manifest I have set the activity's windowsSoftInputMode to adjustResize, adjustPan with little success. </p>
  
  <p>activity_signup.xml</p>
  
  <pre><code>&lt;FrameLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/signUpContent"
  android:layout_width="match_parent"
  android:layout_height="match_parent"/&gt;
  </code></pre>
  
  <p>simplified fragment_enter_code.xml</p>
  
  <pre><code>&lt;android.support.v7.widget.CardView
  style="@style/CardViewStyle.SignUp"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:cardCornerRadius="25dp"
  app:cardElevation="2dp"
  app:cardUseCompatPadding="true"
  app:contentPadding="8dp"&gt;
  
          &lt;EditText
               android:id="@+id/codeEditText"
               style="@style/HintedEditText"
               android:layout_width="match_parent"
               android:layout_height="wrap_content"
               android:hint="Code"
               android:inputType="text"/&gt;
  
          &lt;Button
              style="@style/NextButton"
              android:id="@+id/nextButton"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:enabled="false"
              android:text="@string/next"/&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>When I tried putting the CardView in a ScrollView the cardview layout (with fillViewport true), I get a scrollbar but the card doesn't scroll and the cardview layout gets messed up.</p>
  
  <p>Does anyone know the windowSoftInputMode's well enough to point me in the right direction? Or is the CardView just not going to scroll outside of a Container that is design to hold them?</p>
  
  <p>It feels like the solution to this is in manipulating the activity's view not the fragments.</p>