I have an app that already show the navigation drawer in the activity_main.xml ... I do know about using fragments.What I want to do is to show the navigation drawer in every activity without using the fragments...Which part of the codes shoud I copy and paste in every layout to show navigation drawer in every page..Is there any code that I should add to the MainActivity.java or should I add codes to my drawer.xml? Note: all fragments are put in one layout(drawer.xml) Which part should I add or modify codes to show navigation drawer in every activity without using fragments?
Asked
Active
Viewed 22 times
0
-
Possible duplicate of [How to add Navigation Drawer to all the activities in the application?](http://stackoverflow.com/questions/18892074/how-to-add-navigation-drawer-to-all-the-activities-in-the-application) – piotrek1543 Sep 09 '16 at 05:49
-
check answer above... learn fragments, they're incredible useful ;-) – piotrek1543 Sep 09 '16 at 05:50