Android Studio
Safely delete the element
The Android Studio shortcut for safely delete the element is Alt + Delete. On a Mac, press Cmd + Delete instead.
Where it works: Refactoring
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdDelete |
| Windows | Desktop app | AltDelete |
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.