Skip to main content

Responding to Configuration Changes

  • Chapter
  • First Online:
Android Fragments
  • 1297 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 29.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Dave MacLean

About this chapter

Cite this chapter

MacLean, D., Komatineni, S. (2014). Responding to Configuration Changes. In: Android Fragments. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0853-3_2

Download citation

Publish with us

Policies and ethics