title: Icons In Collapsing Toolbar
body: <p>I'm fooling around with collapsing toolbar. Everything seems good. But My icons are not centered with the title. I think that's because of <code>fitsSystemWindows()</code>. But at the same time images are not covering the status bar. Any help will be appreciated. Thanks!</p>
  
  <p>Java Code :         </p>
  
  <pre><code>    super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_shr___add__vehicle);
      Toolbar toolbar = (Toolbar) findViewById(R.id.add_vehicle_toolbar);
      setSupportActionBar(toolbar);
      getSupportActionBar().setDisplayHomeAsUpEnabled(true);
  
      CollapsingToolbarLayout appbar = (CollapsingToolbarLayout) findViewById(R.id.add_vehicle_collapse);
      appbar.setTitle("My Bikes");
      appbar.setExpandedTitleColor(Color.parseColor("#F05329"));
  </code></pre>
  
  <p>XML :</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="com.techindyeah.soherides.SHR_Activity_Add_Vehicle"&gt;
  
  &lt;android.support.design.widget.AppBarLayout
      android:id="@+id/add_vehicle_app_bar"
      android:layout_width="match_parent"
      android:layout_height="250dp"
      android:theme="@style/AppTheme.AppBarOverlay"
      android:fitsSystemWindows="true"&gt;
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/add_vehicle_collapse"
          app:layout_scrollFlags="scroll|exitUntilCollapsed"
          app:contentScrim="@color/colorPrimary"
          app:expandedTitleMarginStart="20dp"
          app:expandedTitleMarginEnd="64dp"
          android:fitsSystemWindows="true"&gt;
  
          &lt;ImageView
              android:id="@+id/rl_image"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:src="@mipmap/bikeimage"
              android:scaleType="centerCrop"
              android:fitsSystemWindows="true"
              app:layout_collapseMode="parallax"/&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/add_vehicle_toolbar"
          android:layout_width="match_parent"
          android:layout_height="60dp"
          app:popupTheme="@style/AppTheme.PopupOverlay"
          android:minHeight="60dp"
          app:layout_collapseMode="pin" /&gt;
  
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;include layout="@layout/content_shr__activity__add__vehicle" /&gt;
  
  &lt;android.support.design.widget.FloatingActionButton
      android:id="@+id/add_vehicle_insert_image"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_marginRight="20dp"
      app:layout_anchor="@+id/add_vehicle_app_bar"
      app:layout_anchorGravity="bottom|right"
      app:srcCompat="@mipmap/ic_insert_photo_white_24dp" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>This is what I have now : <br><br>
    <a href="https://i.stack.imgur.com/J61mE.jpg" rel="nofollow noreferrer">Expanded</a> <br>
    <a href="https://i.stack.imgur.com/yeDxO.png" rel="nofollow noreferrer">Collapsed</a></p>