Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.83 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.83 KB

Android Guidelines

Coding Guidelines

  1. Project Structure
  2. Java Guidelines
  3. Resources Guidelines
  4. Android Manifest Guidelines
  5. Gradle Best Practices

Using Libraries

  1. Butterknife

Being Consistent

Our parting thought: BE CONSISTENT. If you're writing/editing code, take a few minutes to look at the code around you and determine it's style. If the code use spaces around if clauses, you should too. If the comments have little boxes of stars around them, make your comments have little boxes of stars around them too.

The point of having style guidelines is to have a common vocabulary of coding, so people can concentrate on what you're saying, rather than on how you're saying it. We present global style rules here so people know the vocabulary. But local style is also important. If the code you add to a file looks drastically different from the existing code around it, it throws readers out of their rhythm when they to read it.

Sources