title: Android - footer scrolls off screen when used in CoordinatorLayout
body: <p>I have an <code>AppBarLayout</code> that scrolls off screen when scrolling a <code>RecyclerView</code>.
  Below the <code>RecyclerView</code> there is a <code>RelativeLayout</code> that is a footer.</p>
  
  <p>The footer is shown only after scrolling up - it behave like it has </p>
  
  <pre><code>layout_scrollFlags="scroll|enterAlways"
  </code></pre>
  
  <p>but it doesn't have any scroll flags - is it a bug or am I doing something wrong? I want it to be always visible</p>
  
  <p>before scroll</p>
  
  <p><img src="https://i.stack.imgur.com/FtTLS.png" alt="enter image description here"></p>
  
  <p>after scroll</p>
  
  <p><img src="https://i.stack.imgur.com/JiGlH.png" alt="enter image description here"></p>
  
  <p><strong>Update</strong></p>
  
  <p>opened a <a href="https://code.google.com/p/android/issues/detail?id=177195" rel="noreferrer">google issue</a> on this - it was marked 'WorkingAsIntended' this still doesn't help because I want a working solution of a footer inside a fragment.</p>
  
  <p><strong>Update 2</strong></p>
  
  <p><a href="https://drive.google.com/open?id=0B1MnnD7rqBMWfnhVTmtJWThmMDBLSEUwT255d2RKZHZic2JjWkFZNkJ4VFJaa1RhYmdSQ3c" rel="noreferrer">you can find the activity and the fragment xmls here</a> - </p>
  
  <p>note that if line 34 in <code>activity.xml</code> - the line containing <code>app:layout_behavior="@string/appbar_scrolling_view_behavior"</code> is commented out the text <strong>end</strong> is visible from the start - otherwise, it is visible only after scrolling up </p>