Table of Contents

Android - Screen Rotation

About

When the screen orientation changes, the system destroys and recreates the activity in order to apply alternative resources that might be available for the new screen configuration.

The following lifecycle callback function sequence is then called

  1. onPause
  2. onStop
  3. onCreate
  4. onResume
  5. onStart
  6. onDestroy

Shortcut

To rotate an emulator, use: