I have created custom bottom navigation view in separate layout.
What I want is to achieve this:
Instead of this (in red is the bottom navigation layout border):
Is there a tricky way to achieve this?
Is there a tricky way to achieve this?
Yes:
Layout scheme:
<ConstraintLayout>
<Fragment>
<BottomLayout>
<Guideline>
</ConstraintLayout>
BottomNavView
CoordinatorLayout
of the BottomLayout should have a transparent background in order to show the fragment on the backgroundThe downside is that the touch events on the intersection area of the BottomLayout with the Fragment will be intercepted by the BottomLayout.