2017-05-11 94 views

回答

2

您應該將DrawerLayout作爲父級別移動,並將Toolbar移出DrawerLayout內容容器。總之這看起來像:

RelativeLayout 
----Toolbar 
----DrawerLayout 
    ---ContentView 
    ---DrawerList 

試試這個。有關更多幫助,請按照this鏈接進行操作,並相應地更改佈局。