Android floating action button hidden behind of bottom navigation bar

后端 未结 5 2976
情书的邮戳
情书的邮戳 2021-02-20 16:41

New to android programming & struggling with right now. I\'m using android studio\'s default \"Navigation Drawer Activity\". On top of that, I\'ve added a Bottom Bar from <

5条回答
  •  天涯浪人
    2021-02-20 17:20

    Its just margin issue. Just try to implement this code in your coordinatorLayout

    
    
            
    
    

    And use this style in your style.xml file.

    
    

    We're just doubling the margin. First BottomNavigationView, and Second the default margin of FAB.

提交回复
热议问题