While this is a very comprehansive guide, you would probably still need to embrace and learn the recommended Java code style in your code.
- Download the preference file Google is maintaining for the intelliJ enviorment.
- Save the file in
- In the Android Studio -> preferences -> Code Style -> select
XMLand then select the
AndroidStylefrom the list.
- Want to have a check on your current source code? run Analyze -> Inspect Code and see the results.