title: SnackBar and fitsSystemWindow
body: <p>I have an app that uses fitsSystemWindows to be able to draw an background behind Navigation- and Status-Bar - unfortunately the SnackBar seems to ignore the fitsSystemWindows=true from the container. I boiled the problem down to this minimal app:</p>
  
  <p><img src="https://i.stack.imgur.com/0vXit.png" alt="problem"></p>
  
  <p>the style:</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;style name="AppTheme" parent="Theme.AppCompat.Light"&gt;
  
          &lt;item name="android:windowBackground"&gt;@color/accent_material_dark&lt;/item&gt;
          &lt;item name="android:fitsSystemWindows"&gt;false&lt;/item&gt;
  
          &lt;item name="android:windowTranslucentStatus"&gt;true&lt;/item&gt;
          &lt;item name="android:windowTranslucentNavigation"&gt;true&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>the layout:</p>
  
  <pre><code>&lt;RelativeLayout 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:fitsSystemWindows="true"
                  tools:context=".MainActivity"&gt;
  
      &lt;Button
  
              android:id="@+id/button"
              android:text="@string/hello_world"
              android:layout_width="match_parent"
              android:layout_height="match_parent"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>the activity:</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
          findViewById(R.id.button).setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(final View v) {
                  Snackbar.make(v,"This Snackbar should fitSystemWindows",Snackbar.LENGTH_INDEFINITE).show();
              }
          });
      }
  
  }
  </code></pre>
  
  <p>Anyone knows some workaround?</p>
  
  <p>I published the minimal app to show the problem here:
  <a href="https://github.com/ligi/SnackBarFitsSystemWindowProblem">https://github.com/ligi/SnackBarFitsSystemWindowProblem</a></p>