You should change this in <fragment>
app:layout_constraintBottom_toBottomOf="parent"
to
app:layout_constraintBottom_toTopOf="@id/bottomNavigationView"
the reason is that the fragment is now underneath the BottomNavigationView while you want it to be on top of it
* Be the first to Make Comment