2016-07-13 100 views

回答

1

你不需要這個庫。

創建項目/活動作爲導航抽屜活動你想要去你的應用程序全屏 if you create an activity it should be like this

嗎? 如果是

super.onCreate(savedInstanceState); 
    /////////// add this line below 
      getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); 
////////// set content below this 
setContentView(R.layout.activity_main); 

,或者如果你有問題的定位與導航抽屜活動。 activity_main.xml content_main.xml或app_bar_main.xml提及

+0

這個鏈接的一些教程? –

+0

http://stackoverflow.com/questions/21796209/how-to-create-a-custom-navigation-drawer-in-android –