How to combine BottomAppBar + FAB with BottomNavigationView

后端 未结 6 1760
不知归路
不知归路 2020-11-30 00:29

I want to use the FloatingActionButton, along with its behaviour when anchored on a BottomAppBar, on top of a BottomNavigationView.

I came up with a rat

6条回答
  •  被撕碎了的回忆
    2020-11-30 01:21

    I found a quicker solution. I wrapped bottomnavigationview in frameLayout and everything work as expected. Try this:

        
        
    
    
        
    
        
    
    
        
    
            
    
    
        
    
    
        
    
    
    
    

提交回复
热议问题