Android Studio 代码格式化快捷键 Eclipse: Ctrl + Shift + F Android Studio: Ctrl + Alt + L (Win) Ctrl + Alt + L (Ubuntu) Option + Cmd + L (Mac)