Skip to content

Instantly share code, notes, and snippets.

Avatar
🙂
Hello world!

Àlex Amenós alex-amenos

🙂
Hello world!
View GitHub Profile
@alex-amenos
alex-amenos / default-detekt-config.yml
Created Feb 2, 2020
default detekt configuration
View default-detekt-config.yml
autoCorrect: true
test-pattern: # Configure exclusions for test sources
active: true
patterns: # Test file regexes
- '.*/test/.*'
- '.*Test.kt'
- '.*Spec.kt'
exclude-rule-sets:
- 'comments'
@alex-amenos
alex-amenos / localizable_google_spreadsheets_and_twine.md
Last active May 18, 2020
Generate localizable strings with Google Spreadsheets and Twine
View localizable_google_spreadsheets_and_twine.md
  1. Create a Google spreadsheet like the following example:
KEY EN ES CA TAGS COMMENTS
// Core
core_accept Accept Aceptar D'acord android,ios,core -
core_cancel Cancel Cancelar Cancel·lar android,ios,core -
core_ok OK OK OK ios,core -
// Login
login_email_hint Enter your email Introduce tu email Introdueix el teu email android,ios,login -
View android_studio_setup.md

Before to start working on the project you can follow some project rules to achieve project quality without effort.

You can create a scheme if you want for this project.

Android XML arrangement

Verify you Android XML arrangement

View naming_conventions.md

Modules

All the module resources have a module prefix.

On build.gradle file add the following lines to accomplish this rule with the module name

android {
   resourcePrefix 'module_name'
}
You can’t perform that action at this time.