How to indent the code in Android Studio?

5

How do I indent my XML and JAVA code in Android Studio? I would also like to know how to increase the source code.

    
asked by anonymous 04.02.2015 / 23:46

1 answer

8

To indent the code has the shortcut: Ctrl + ALT + L , (or if you prefer select the code you want to indent before ).

To increase the font:

File ➝ Settings ➝ Editor ➝ Colors & Fonts ➝ Font. Go to Save As ... put a name and it's ok, then unlock the options, including the Size where you can increase the font. (only unlocks if you save a new scheme before).

    
05.02.2015 / 00:33