This issue is caused by the theme used in styles.xml. Because Theme.AppCompat.Light.NoActionBar has no action bar there is nothing for the menu to show on. Using a theme without the .NoActionBar such as Theme.MaterialComponents.Light will fix this.