O'Reilly logo

Professional Android, 4th Edition by Ian Lake, Reto Meier

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

4Defining the Android Manifest and Gradle Build Files, and Externalizing Resources

THE MANIFEST, BUILD FILES, AND RESOURCES

Each Android project includes a manifest file that defines the structure and metadata of your application, its components, and its requirements.

In this chapter you learn how to configure your application manifest, as well as understand how to modify the Gradle build configuration files. These Gradle build files are used to define required dependencies, and define parameters when compiling and building your apps.

You should always provide the best possible experience for users, no matter which country they’re in or which of the wide variety of Android device types, form factors, and screen sizes they’re using. In this chapter, you learn how to externalize resources, and use the resource framework to provide optimized resources to ensure your applications run seamlessly on different hardware (particularly different screen resolutions and pixel densities), ...

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