O'Reilly logo

Android™ Development Patterns: Best Practices for Professional Developers by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3. Application Structure

With the decision to change the supported development platform from the ADT bundle to Android Studio also came the decision to start using Gradle as the build system. This opened the door for many developers to start assembling Android applications in a more collaborative way and changed the file structure with which prior projects were built.

In this chapter, you learn the new file system structure as well as the types of files you can include in your project, including where XML files are located, where image assets are stored, and where the Gradle build files are stored.

When you create an application in Android Studio, you find that the project is divided into an App folder and Gradle scripts. Figure 3.1 shows this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required