Coding style

This commit is contained in:
Dominik Schürmann 2014-03-26 13:42:16 +01:00
parent e5fe4245bf
commit 0d5e99e1f0
1 changed files with 2 additions and 8 deletions

View File

@ -145,15 +145,9 @@ see http://help.transifex.net/features/client/index.html#user-client
* Opening braces don't go on their own line
* Field names: Non-public, non-static fields start with m.
* Acronyms are words: Treat acronyms as words in names, yielding !XmlHttpRequest, getUrl(), etc.
* Fully Qualify Imports: Do *not* use wildcard-imports such as ``import foo.*;``
See http://source.android.com/source/code-style.html
### XML Eclipse Settings
* XML Maximum line width 999
* XML: Split multiple attributes each on a new line (Eclipse: Properties -> XML -> XML Files -> Editor)
* XML: Indent using spaces with Indention size 4 (Eclipse: Properties -> XML -> XML Files -> Editor)
See http://www.androidpolice.com/2009/11/04/auto-formatting-android-xml-files-with-eclipse/
The full coding style can be found at http://source.android.com/source/code-style.html
### Automated syntax check with CheckStyle