title: Toolbar Overlapping Layout
body: <p>My layout is being overlapped by the Toolbar. I have to include a 56dp padding to push it down below the toolbar, which makes it awkward to work with (and likely also means I can't use AlignParentTop). The fragment screen (activity_login.xml) is pretty much straight up stock Google-provided code. </p>
  
  <p><a href="https://i.stack.imgur.com/exe2g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/exe2g.png" alt="enter image description here"></a></p>
  
  <p><strong>(Without Padding)</strong></p>
  
  <p><a href="https://i.stack.imgur.com/ltkzf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ltkzf.png" alt="enter image description here"></a><br>
  <strong>activity_login.xml</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center_horizontal"
  android:orientation="vertical"
  tools:context="com.myProject.LoginActivity"
  android:id="@+id/login2LinearLayout"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"&gt;
  
  &lt;!-- Login progress --&gt;
  &lt;ProgressBar
      android:id="@+id/login_progress"
      style="?android:attr/progressBarStyleLarge"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginBottom="8dp"
      android:visibility="gone" /&gt;
  
  &lt;ScrollView
      android:id="@+id/login_form"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:id="@+id/email_login_form"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;AutoCompleteTextView
                  android:id="@+id/email"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="@string/prompt_email"
                  android:inputType="textEmailAddress"
                  android:maxLines="1"
                  android:singleLine="true" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;android.support.design.widget.TextInputLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"&gt;
  
              &lt;EditText
                  android:id="@+id/password"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="@string/prompt_password"
                  android:imeActionId="@+id/login"
                  android:imeActionLabel="@string/action_sign_in_short"
                  android:imeOptions="actionUnspecified"
                  android:inputType="textPassword"
                  android:maxLines="1"
                  android:singleLine="true" /&gt;
  
          &lt;/android.support.design.widget.TextInputLayout&gt;
  
          &lt;Button
              android:id="@+id/email_sign_in_button"
              style="?android:textAppearanceSmall"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="16dp"
              android:text="@string/action_sign_in"
              android:textStyle="bold" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p></p>
  
  <p><strong>app_bar_main.xml</strong></p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout
      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="match_parent"
      android:fitsSystemWindows="true"
      tools:context=".MainActivity"&gt;
  
      &lt;android.support.design.widget.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimary"
              app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;include layout="@layout/content_main" /&gt;
  
      &lt;include layout="@layout/login" /&gt;
      &lt;include layout="@layout/activity_login" /&gt;
      &lt;include layout="@layout/home" /&gt;
      &lt;include layout="@layout/my_stats" /&gt;
      &lt;include layout="@layout/settings" /&gt;
      &lt;include layout="@layout/winners" /&gt;
      &lt;include layout="@layout/about" /&gt;
  
      &lt;android.support.design.widget.FloatingActionButton
          android:id="@+id/fab"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|end"
          android:layout_margin="@dimen/fab_margin"
          android:src="@drawable/ic_add_white_24dp" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>