Android: Navigation-Drawer on all activities
The easy way is that you should create fragments. If you are ready to for little hard thing then this is for you. It will let you have same navigation drawer in all activities. Create drawer_n_activity.xml <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”match_parent” android:layout_height=”match_parent” > <FrameLayout android:id=”@+id/drawer_frame” android:layout_width=”match_parent” android:layout_height=”match_parent” /> <YourDrawer android:id=”@+id/drawer_drawer” android:layout_width=”match_parent” android:layout_height=”fill_parent” > </YourDrawer> </RelativeLayout> Your DrawerActivity.class … Read more