Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 3.49 KB

File metadata and controls

63 lines (49 loc) · 3.49 KB

Android libraries

There are all the libraries we use in the app today: libraries

App State

Dave wrote a detailed post about how we manage client app state with Dagger & Otto.

Build.gradle

We use gradle as our build system, the default with Android Studio. Here are the customizations we've made to our build.gradle file:

Within android {}:

  • We compile with Java 1.7:
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
  • We use build types to zipalign release builds. This has a bigger impact if you have a large app with more images
    buildTypes {
        release {
            zipAlign true
        }

        debug {
        }
    }
  • We use product flavors to easily switch between pointing to our own dogfood and production servers:
    productFlavors {
        prod {}

        stage {}
    }
  • We originally had minSdkVersion 15 & targetSdkVersion 19 based on our analysis of current android versions. If you want to use new material design features available in Android 5.0+, you must set the targetSdkVersion to 21 (more details).

  • Handy resource to find the correct string when adding a new dependency: gradleplease.appspot.com

  • Gradle plugin to discover dependency updates: github

Design templates

  • Google official Phone & Tablet stencils, Photoshop mocks, Action Bar Icons, wear materials, style guide and Color pallete - link
  • Sketch Material Design template - link

General education and other guides

  • Good 'designing for android' intro - slideshare link
  • Tumblr of 'beautifully designed' android apps - link
  • "Building the Prismatic Android Loader Animation" by Steven Schafer - link
  • Great blog about Android UI patterns - link 
  • Material Design guide and resources - link
  • Android stencils - link
  • Custom Android libraries we could use - link
  • Android developer blog - link
  • Vogella's Dev Tutorials - link

Wiki home | Android app | Prismatic Github | Prismatic | My email | My Twitter