Abstract
We’ve covered a fair bit of material so far, and now seems like a good time to cover configuration changes. When an application is running on a device, and the device’s configuration changes (for example, is rotated 90 degrees), your application needs to respond accordingly. The new configuration will most likely look different from the previous configuration. For example, switching from portrait to landscape mode means the screen went from being tall and narrow to being short and wide. The UI elements (buttons, text, lists, and so on) will need to be rearranged, resized, or even removed to accommodate the new configuration.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Satya Komatineni and Dave MacLean
About this chapter
Cite this chapter
Komatineni, S., MacLean, D. (2012). Responding to Configuration Changes. In: Pro Android 4. Apress. https://doi.org/10.1007/978-1-4302-3931-4_12
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3931-4_12
Publisher Name: Apress
Print ISBN: 978-1-4302-3930-7
Online ISBN: 978-1-4302-3931-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)