title: Auto code formatting in Android Studio
body: <p>Is it possible to <code>format code automatically on save</code>? I've seen a <a href="https://stackoverflow.com/questions/946993/intellij-reformat-on-file-save">solution</a> in which a macro assigned to a shortcut is proposed but I need to be able to make this a project setting. This way, anyone joining our project doesn't have to configure a macro for himself.</p>
  
  <p>In Eclipse this was easily achieved using <code>save actions</code> and putting the config files under version control. Is this possible with Android Studio?</p>