The New UI at a Glance
Android Studio 2: The New UI
Course 2 ยท Chapter 1 ยท Finding Your Way Around
You open Android Studio and the window does not look like the one in older books, videos and in Android Studio: The IDE Itself. There is no row of menus, the left and right edges carry strips of small icons, and a magnifying glass sits in the top corner. This is the New UI, and it is what Android Studio Rabbit 2 shows by default. This chapter is a map of it: where the menus went, what the icon strips are, what is in the toolbar and how to find anything with one shortcut. Everything later in the course assumes you can find your way around with this map.
Checked in the docs. One web search against Google's New UI in Android Studio page (see the Not Yet Verified box at the end for what that search did and did not show).
Not run by me. I did not use the IDE myself. Where a name below could not be read in a screenshot, the chapter says so instead of guessing.
The Window, Region by Region
Think of the window as a frame with six regions. The names below are the ones you will see used through the rest of the course.
| Region | Where | What it holds |
|---|---|---|
| Main toolbar | Top row | The hamburger button (three lines) on the far left, then the project widget (project name with a drop-down), the Version Control widget, the device selector (for example Pixel 10 Pro), the run configuration drop-down (app), the green Run button, the Debug button, a more (three dots) menu, and on the right a row of action icons, the magnifying glass (Search Everywhere), the gear (Settings menu) and your account picture. |
| Left tool window bar | Left edge | Icons for Project and Resource Manager, and a three-dots More tool windows button that opens the rest. |
| Right tool window bar | Right edge | Icons for Notifications, Gradle, Device Manager, Running Devices and Agent. |
| Bottom tool window bar | Lower left | Icons for windows that open along the bottom: Run, Find, Build, Problems, Terminal and Version Control among others. |
| Editor area | Centre | Your open files. With nothing open it shows a hint list of shortcuts (below). |
| Navigation bar | Bottom edge | A path of clickable parts that shows where the open file sits, for example catalogue > app > src > main > res > drawable, with the status icons at the far right. |
A tool window that is open takes up one of these edges: the Resource Manager on the left, the Agent on the right and Build along the bottom can all be open at once, which is how the window looked in the screenshots this chapter is taken from.
The Hamburger Menu, and Getting the Menus Back
By default the main menu is hidden under the hamburger button: click the three-line icon at the left of the toolbar and the same menus you remember appear as a list. If you prefer them in a row, there is a setting with three choices. Open File > Settings (Ctrl+Alt+S), then Appearance & Behavior > Appearance, and find Main menu under UI Options:
| Main menu setting | What you get |
|---|---|
| Hide under Hamburger Button | The default: one button, menus open from it. |
| Merge with Main Toolbar | The menu row and the toolbar share one line. |
| Show above Main Toolbar | A classic menu row on its own line above the toolbar. This is the setting used in the screenshot of the File menu behind this chapter. |
The menu bar then reads File, Edit, View, Navigate, Code, Refactor, Build, Run, Tools, VCS, Window, Help. Two details are easy to miss. There is no Analyze menu any more: its commands moved under Code, which Chapter 9 of this course covers. And once a project is a Git repository the VCS menu is replaced by one called Git, which Chapter 10 covers.
What is in the File menu
The File menu is a good first exploration because it holds several commands you will use constantly. In the screenshot it listed these, in this order:
Two of these deserve a note now. Sync Project with Gradle Files is the one to press after you edit a build file (Chapter 4). Invalidate Caches... is the repair command to try when the IDE behaves strangely; it clears its own caches and restarts, and it does not touch your code.
The Tool Window Bars
A tool window is any panel around the editor: Project, Build, Logcat, Terminal and so on. In the New UI the bars show only a selection of icons, and the rest sit behind the three-dots More tool windows button, so the bars stay short. Click an icon to open its window, click it again to hide it. Every tool window is also listed under View > Tool Windows, and the most common have a shortcut.
| Tool window | Shortcut | Where it opens |
|---|---|---|
| Commit | Alt+0 | Left |
| Project | Alt+1 | Left |
| Bookmarks | Alt+2 | Left |
| Find | Alt+3 | Bottom |
| Run | Alt+4 | Bottom |
| Debug | Alt+5 | Bottom |
| Problems | Alt+6 | Bottom |
| Structure | Alt+7 | Left |
| Services | Alt+8 | Bottom |
| Version Control | Alt+9 | Bottom |
| Terminal | Alt+F12 | Bottom |
| Logcat | none by default | Bottom |
The "Where it opens" column is a note of where each window sat in the screenshots, not a rule: you can drag any tool window to another edge. The same View menu list also contains Profiler, App Inspection, App Links Assistant, App Quality Insights, Backup and Sync History, Build, Build Variants, Coverage, Device Explorer, Device Manager, Gradle, Hierarchy, Layout Validation, Merge Requests, Notifications, Pull Requests, Resource Manager, Running Devices, Agent, TODO and Upgrade Assistant. Later chapters take the important ones in turn.
Search Everywhere
The fastest way to find almost anything is Search Everywhere: press Shift twice quickly (the editor's empty-state hint calls it Shift Shift), or click the magnifying glass
at the right of the toolbar. A box opens with a row of tabs: All, Classes, Files, Symbols, Actions, Text, a tick-box Include non-project items and a note, Type / to see
commands. Type a few letters and results from every tab appear together: files, code symbols, menu actions and even individual settings pages.
For example, typing Font listed settings pages named Font (under Editor and under Console Font and Terminal) next to actions such as Increase Font Size and Reset Font Size in All
Editors. That is the trick for the whole course: if you cannot remember where a setting or command lives, search for it by name.
The empty editor also lists the shortcuts worth learning first:
| Action | Shortcut |
|---|---|
| Search Everywhere | Shift Shift |
| Project view | Alt+1 |
| Go to File | Ctrl+Shift+N |
| Recent Files | Ctrl+E |
| Navigation Bar | Alt+Home |
Go to File searches only file names, so it is the one to use when you know the file you want, and Recent Files brings back something you had open a minute ago. Navigation Bar puts the keyboard focus on the path at the bottom of the window so you can walk up and down the folders with the arrow keys.
The Welcome Screen
Before a project is open, Android Studio shows the Welcome screen. It has the usual project actions (new project, open, get from version control), and, as the next chapters need, it is also the place to reach More Actions > Virtual Device Manager and the Settings page without a project open. Once a project is open, the same things live in the menus described above.
Try It Yourself
Make the main menu permanently visible: open Settings, change Main menu to Show above Main Toolbar and apply it. Then open File and write down the menu path and the shortcut for Sync Project with Gradle Files, and for Project Structure.
๐ View solutionDraw (on paper is fine) your own window map: list every icon on your left, right and bottom tool window bars with its name, using hover tooltips or Show tool window names. Then open View > Tool Windows and note five windows that have no icon on the bars and how you would reach them.
๐ View solutionOpen the same page, Settings > Appearance & Behavior > Appearance, three ways: from the File menu, with its keyboard shortcut and with Search Everywhere (search for Appearance). Then use Go to File to open MainActivity.kt and say which of the four ways was fastest for you.
Checked in the docs (one web search): the search found Google's New UI in Android Studio page. Its summary says the main toolbar prioritises the most-used actions (device, version control, project switching) and can be customised under Menus and Toolbars, and that the tool window bar shows only a selection of icons with the rest behind a More tool windows button. The general Get to know the Android Studio UI page says Search Everywhere opens with a double Shift or the magnifying glass. I read search summaries, not the full pages, and the search did not confirm the hamburger menu (that comes from the screenshots).
Not verified: the names of the unlabelled action icons on the right of the toolbar; the exact left-to-right order of icons on the bars (it may vary with your layout and what you have opened); the "Where it opens" column (it records the screenshots, not a rule); what Type / to see commands offers; whether the Welcome screen layout differs between releases. Defaults can change between Android Studio versions, so trust your own window over this text where they differ.