aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/README.md b/README.md
index bdad56c91..62f986b99 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,7 @@ On error see: http://code.google.com/p/zxing/issues/detail?id=1207
## Build Spongy Castle
-Spongy Castle is the stock Bouncy Castle libraries with a couple of small changes to make it work on Android. OpenPGP-Keychain uses a forked version with some small changes to improve key import speed. These changes will be sent to Bouncy Castle, and Spongy Castle will be used again when they have filtered down.
+Spongy Castle is the stock Bouncy Castle libraries with a couple of small changes to make it work on Android. OpenPGP-Keychain uses a forked version with some small changes to improve key import speed. These changes have been sent to Bouncy Castle, and Spongy Castle will be used again when they have filtered down.
see
* http://rtyley.github.com/spongycastle/
@@ -68,6 +68,24 @@ See http://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exc
1. Open svg file in Inkscape
2. Extensions -> Color -> darker (2 times!)
+# Coding Style
+
+## Code
+* Indentation: 4 spaces, no tabs
+* Maximum line width for code and comments: 100
+* 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.
+
+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/
+
# Licenses
OpenPGP Kechain is licensed under Apache License v2.