O'Reilly logo

Android User Interface Development by Jason Morris

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

Handling configuration changes

When you provide Android with different resource directories relating to various possible hardware configurations, the resource loader will attempt to match the best resource files for the device that your application is running on. However, not all of the configuration parameters relate directly to the hardware, but instead describe the device state or some software configuration parameter. Examples of these types of parameters are the device language, network IDs, and device orientation. These parameters may change while your application is running. The most common example being the device orientation. Android has a built-in mechanism to handle such changes for you, and for the most part you won't need any special ...

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