layout de side menu no android studio
I am trying to use 3 diferent side menus and for that 3 layouts one for each and a menu for each layout, but only the layout in the activity_main is working when i run the app.the other two when i login to that menu it doesnt open the layout and the app closes or goes back to the login page. Do I need to have the layout to every menu in the activity_main or I am doing something wrong?