android studio prettify code code example
Example: android studio prettify code
Android Studio Beautify Code
Android Studio takes care of all the formatting. Just Press CTRL+ALT+L on Windows or Command+Option+L on Mac. The android studio will reformat all the code for you.