I want to design something like this :

as you can see fab is between header and the body.
it's easy to do it with coordinatorLayout with app:anchor and app:anchorGravity attributes
but i want to do it with constraintLayout.
any ideas ?
I've found the answer :))
<FAB
   ...
   app:layout_constraintTop_toBottomOf="@+id/header"
   app:layout_constraintBottom_toTopOf="@id/body"/>
                        If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With