Even in Edge-to-Edge mode on Android 15 and higher, a frame now appears at the top of the screen over the in-camera area.
You can also hide the three-dot menu in the upper right corner by going to 'Status bar > Visible2' in the menu.
(In this case, the back button below becomes the menu)