Android floating action button hidden behind of bottom navigation bar

后端 未结 5 2978
情书的邮戳
情书的邮戳 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:28

    In advance I let other know this solution fits to my needs. I don't need fancy animations(which is ok, but not for my project requirements). What I did is to wrap the main content(FrameLayout), the FAB and the BottomNavigationView inside a RelativeLayout. Again, I think this could be done in a better way, so i'm open to suggestions.

    
    
        
    
            
            
    
                
    
                    
    
                
    
                
    
        
    
        
    
            
    
            
    
            
    
        
    
    
    

    I know the question may seems old, but hope this helps to someone else.

提交回复
热议问题