I'm running Android Studio Ladybug on Ubuntu 24.04.1 LTS. The main menu looks like this by default (it's collapsed):
Is there a way to pin the main menu so that the main menu always displays?
The auto-collapse is terribly annoying.
Android Studio Version Info
Apart from pressing the hamburger item at the top-left or its associated shortcut (Alt+\ by default, or the shortcut of any of the main menu items like Alt+F) to instantly display the menu, you can permanently toggle it in the settings under
Appearance & Behavior > Appearance > Show main menu in a separate toolbar:
To reduce visual clutter it is deactivated by default though, it also consumes a (small) portion of the available screen space when activated.