Install the official Android code style under Android-studio. This script should work on every platform (instead of windows^^).
Run the install.sh script.
Restart IntelliJ if it's running.
Open IntelliJ Project Settings -> Code Styles and change the code style.