The following is my layout xml. The problem now is that the BottomNavigationView is overlapping the FrameLayout. I wanted the FrameLayout to stretch to the top of the BottomNavi
There is simple solution for your issue. That is to put marginBottom
in FrameLayout
on 56dp
which is according to documentation height
of BottomNavigationView
. I'm not sure is it changable acording to mobile screens. Even the documentation says nothing about changing of height. And I used it in some of my apps and I didn't find that height of BottomNavigationView
is changing. But just in case check. Hope this will help.