title: How to remove extra padding on top of toolbar in appbarlayout android
body: <p>My code works fine, but there is a extra padding on top of toolbar. It looks ugly when I slide the image upwards. I want to remove this padding. Please see the attached image. Appreciate the help.</p>
  
  <p><a href="https://i.stack.imgur.com/NNSl0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NNSl0.png" alt="enter image description here"></a></p>
  
  <p>layout file </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &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:id="@+id/coordinateLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="app.com.date.design.drawer.NavigationDrawer"&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.design.widget.CollapsingToolbarLayout
              android:id="@+id/collapsing_toolbar"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:fitsSystemWindows="true"
              app:layout_scrollFlags="scroll|exitUntilCollapsed"
              app:contentScrim="?attr/colorPrimary"
              app:expandedTitleMarginStart="48dp"
              app:expandedTitleMarginEnd="64dp"&gt;
  
              &lt;ImageView
                  android:id="@+id/backdrop"
                  android:layout_width="match_parent"
                  android:layout_marginTop="60dip"
                  android:layout_height="350dip"
                  android:clickable="true"
                  android:scaleType="centerCrop"
                  android:fitsSystemWindows="true"
                  app:layout_collapseMode="pin"
                  app:srcCompat="@drawable/side_nav_bar" /&gt;
  
  
              &lt;android.support.v7.widget.Toolbar
                  android:id="@+id/toolbar"
                  android:layout_width="match_parent"
                  android:background="@color/colorPrimary"
                  app:layout_collapseMode="pin"
                  android:layout_alignParentTop="true"
  
                  app:popupTheme="@style/AppTheme.PopupOverlay"
                  android:layout_height="56dp" /&gt;
  
          &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;FrameLayout
          android:id="@+id/fragment_container"
          android:orientation="vertical"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
      &lt;/FrameLayout&gt;
  
  
      &lt;android.support.design.widget.FloatingActionButton
          android:id="@+id/fab"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="@dimen/fab_margin"
          app:layout_anchor="@id/backdrop"
          android:clickable="true"
          app:layout_anchorGravity="bottom|right|end"
          app:srcCompat="@android:drawable/ic_dialog_email" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>