title: How to overlap the card with a disabled FAB?
body: <p>I have a layout with a <code>CardView</code> and a disabled <code>ExtendedFloatingActionButton</code> which I set enabled programmatically, when that FAB is enabled all works fine, but when I set it to disabled it goes behind the card.</p>
  <p>I've tried to set the elevation to both card and FAB by setting a higher elevation to the FAB but when it's disabled it anyway goes above..</p>
  <p>Here is how it looks like:</p>
  <p><a href="https://i.stack.imgur.com/ao2Cl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ao2Cl.png" alt="enter image description here" /></a></p>
  <p>And I would show it overlapped like when enabled is set to true:</p>
  <p><a href="https://i.stack.imgur.com/lkXVC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lkXVC.png" alt="enter image description here" /></a></p>
  <p>Here is my code:</p>
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      app:layout_behavior=&quot;@string/appbar_scrolling_view_behavior&quot;&gt;
  
      &lt;com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
          android:id=&quot;@+id/fabInvia&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:enabled=&quot;false&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_marginEnd=&quot;8dp&quot;
          android:contentDescription=&quot;@string/invia&quot;
          android:text=&quot;@string/invia&quot;
          android:textColor=&quot;#fff&quot;
          app:elevation=&quot;10dp&quot;
          android:translationY=&quot;-33dp&quot;
          app:fabSize=&quot;normal&quot;
          app:icon=&quot;@drawable/ic_baseline_send&quot;
  
          app:iconTint=&quot;#fff&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintTop_toBottomOf=&quot;@+id/cardView&quot; /&gt;
  
   &lt;androidx.cardview.widget.CardView
          android:id=&quot;@+id/cardView&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          app:cardElevation=&quot;5dp&quot;
          app:elevation=&quot;5dp&quot;
          app:cardUseCompatPadding=&quot;true&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot;
          app:layout_constraintVertical_bias=&quot;0.0&quot;&gt;
  
      ...
  
      &lt;/androidx.cardview.widget.CardView&gt;
  
  
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>