title: Snackbar overlaps floating action bar in constraint layout
body: <p>I'm working for the first time with <code>constraint layout</code> and what I want to achieve is a <code>snackbar</code> to be shown on <code>activity</code> launch. The <code>snackbar</code> is showing but its overlapping my <code>floating action menu</code>. I've tried everything but nothing's working.</p>
  
  <p>I'll post my XML and Java so you tell me what could be the problem. I've already tried all solutions online but nothing is working.</p>
  
  <p>Here is the xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:fab="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"&gt;
  
  &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/ListViewCatalog"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_marginTop="?attr/actionBarSize"
      android:choiceMode="multipleChoice"
      android:clickable="true"
      android:focusable="true"&gt;
  
  &lt;/android.support.v7.widget.RecyclerView&gt;
  
  &lt;android.support.design.widget.CoordinatorLayout
      android:id="@+id/LinearLayout01"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_margin="5dip"
      android:orientation="horizontal"&gt;
  
  
      &lt;com.github.clans.fab.FloatingActionMenu
          android:id="@+id/fab_menu"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|end"
          android:paddingBottom="@dimen/_10sdp"
          android:paddingEnd="@dimen/_16sdp"
          android:paddingRight="@dimen/_16sdp"
          fab:menu_fab_label="Pay"
          fab:fab_colorNormal="#DA4336"
          fab:fab_colorPressed="#E75043"
          fab:fab_colorRipple="#99FFFFFF"
          fab:fab_shadowColor="#66000000"
          fab:fab_showShadow="true"
          fab:menu_backgroundColor="#00000000"
          fab:menu_fab_hide_animation="@anim/fab_scale_up"
          fab:menu_fab_show_animation="@anim/fab_scale_down"
          fab:menu_labels_colorNormal="#333333"
          fab:menu_labels_colorPressed="#444444"
          fab:menu_labels_colorRipple="#66FFFFFF"
          fab:menu_labels_ellipsize="end"
          fab:menu_labels_maxLines="-1"
          fab:menu_labels_position="left"
          fab:menu_labels_showShadow="true"
          fab:menu_labels_singleLine="true"
          fab:menu_openDirection="up"
          tools:ignore="RtlSymmetry"&gt;
  
          &lt;com.github.clans.fab.FloatingActionButton
              android:id="@+id/button02"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/add"
              fab:fab_label="Process"
              fab:fab_size="mini" /&gt;
  
          &lt;com.github.clans.fab.FloatingActionButton
              android:id="@+id/fab1"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/refresh"
              fab:fab_label="Reload"
              fab:fab_size="mini" /&gt;
  
          &lt;com.github.clans.fab.FloatingActionButton
              android:id="@+id/fab2"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/sub"
              fab:fab_label="Next"
              fab:fab_size="mini" /&gt;
  
          &lt;com.github.clans.fab.FloatingActionButton
              android:id="@+id/fab3"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:src="@drawable/more"
              fab:fab_label="Previous"
              fab:fab_size="mini" /&gt;
  
      &lt;/com.github.clans.fab.FloatingActionMenu&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>The Java part:</p>
  
  <pre><code>FloatingActionMenu fam = findViewById(R.id.fab_menu);
      mCartList = CartHelper.getCart();
  
      // Make sure to clear the selections
      for (int i = 0; i &lt; mCartList.size(); i++) {
          mCartList.get(i).selected = false;
      }
  
      if (mCartList.size() == 0) {
          Snackbar snackbar = Snackbar.make(fam, "Cart is Empty", Snackbar.LENGTH_LONG);
          snackbar.show();
      }
  </code></pre>
  
  <p>Here is a screenshot so you can see what I mean:</p>
  
  <p><a href="https://i.stack.imgur.com/P0biq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P0biq.png" alt="enter image description here"></a></p>