Fragment overlaps the AppCompat toolbar

后端 未结 5 1010
感动是毒
感动是毒 2020-12-13 09:41

I\'m working with the v7 support library and trying to have a navigation drawer on the left. As read elsewhere I set up:

  1. DrawerTest.java: T

5条回答
  •  青春惊慌失措
    2020-12-13 10:16

    The reason is because you place it in a frame layout and then you add the fragment ontop of the toolbar. you need to do something like this

    
    
           
    
           
    
           
    
           
    
           
    
    
    

提交回复
热议问题