You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to that style, the actual code should follow the following guides:
Indentation should use tabs (this is the current style out of happenstance, but we should switch to the spaces style in the android source. It's better to be internally consistent now and switch all at once than slowly transitioning)
The code should use Unix endlines
Lines should not end in trailing whitespace, this includes empty lines
Unnecessary imports should be removed
In general, Eclipse can handle much of this style for you. We recommend turning on the autoformat feature so that code remains in the correct style.
The built-in code cleanup tool should be run before committing. If possible, clean up code and make the clean up action a separate commit so that the functional changes are easier to pick out.