- make menu_main.xml from res -> new resource file type main_menu set type as menu

- then in activity_main or use code -> generate method

- to add back button when changing activity / intent

getSupportActionBar().setDisplayHomeAsUpEnabled(true);