Skip to Content

In most mobile operating systems, Android automatically adjusts its orientation to maximize the available space. It does this by saving the basic data from the previous screen orientation and regenerating the Activity when the new orientation is found. The following examples show how to use the device orientation to customize your application’s behavior. To prevent …

Read More about What Happens When Screen Orientation Changes in Android?