Book Image

Xamarin Mobile Application Development for Android

Book Image

Xamarin Mobile Application Development for Android

Overview of this book

Table of Contents (18 chapters)
Xamarin Mobile Application Development for Android Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Making Your App Orientation-aware

This chapter will walk you through the process of dealing with the Android application behavior on device configuration changes. In the course of this chapter, we will cover comprehensive details of the theoretical concepts, but we will not make any significant changes to the POIApp. The following topics will be covered in this chapter:

  • The Android behavior on configuration changes

  • Locking the Android application orientation

  • Saving the activity state for configuration changes

  • Adding alternative resources

  • Manually handling the orientation behavior