CoordinatorLayout + AppBarLayout + NavigationDrawer

后端 未结 2 1102
生来不讨喜
生来不讨喜 2020-12-12 15:26

I have a layouting problem when combining CoordinatorLayout with an AppBarLayout and a NavigationDrawer.

The problem is, that

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 16:09

    To add on to the previous answer, you can make the DrawerLayout cleaner by moving the CoordinatorLayout+child elements into a separate xml file. And then just use the "include" option to add the file.

    
    
    
      
      
    
      
    
    
    

提交回复
热议问题