Android Studio
Inline the element
In Android Studio, Ctrl + Alt + N will inline the element. On a Mac, press Cmd + Option + N instead.
Where it works: Refactoring
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdOptionN |
| Windows | Desktop app | CtrlAltN |
Where this comes from
Keyboard shortcuts - Android Studio - Android Developers
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.