O'Reilly logo

Learning Android™ Application Programming for the Kindle Fire™: A Hands-On Guide to Building Your First Android Application by Shane Conder, Lauren Darcey

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

15. Managing Alternative and Localized Resources

The Android platform supports a very flexible resource system. By storing project resources, such as strings and graphics, in a certain, structured way, developers can have their applications load different resources under different conditions. For example, you may have noticed that the screens of the Have You Read That? application don’t always look right if you hold your Kindle Fire in landscape mode. In this chapter, we discuss how to use alternative resources to support different screen modes, like portrait versus landscape, as well as how to manage resources for internationalization purposes.

Using the Alternative Resource Hierarchy

Few application user interfaces look perfect on every device ...

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