automatic code indentation in android studio code example Example: auto indentation android studio Windows: CTRL+ALT+L Mac: Command+Option+L