title: Remove toolbar elevation for specific fragment
body: <p>How can I set Elevation to 0 or disable it for a specific Fragment of my <code>NavigationDrawer</code>? Programmatically or with theme maybe ?</p>
  
  <p><code>toolbar.setElevation(0)</code> seems not working.</p>
  
  <p>This ìn my <code>onNavigationItemSelected</code> doesn't work, elevation won't change : </p>
  
  <pre><code>if (item.getItemId() == R.id.drawer_menu_account) {
      if (getSupportActionBar() != null) {
          getSupportActionBar().setElevation(0);
      }
  } else {
      if (getSupportActionBar() != null) {
          getSupportActionBar().setElevation(8);
      }
  }
  </code></pre>
  
  <p>And there is my Coordinator layout with Toolbar</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:layout_width="match_parent"
  android:layout_height="match_parent"
  android:fitsSystemWindows="true"
  tools:context=".activity.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;FrameLayout
      android:id="@+id/content_frame"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_marginTop="?attr/actionBarSize" /&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_24dp" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p><br /><br />
  <strong>RESOLVED - Thanks to Amir ! Work with this in my <code>onNavigationItemSelected</code></strong></p>
  
  <pre><code>if (android.os.Build.VERSION.SDK_INT &gt;= 21) {
      if (item.getItemId() == R.id.drawer_menu_account) {
           appBar.setElevation(0);
      } else {
           appBar.setElevation(8);
      }
  }
  </code></pre>