Android - Screen Rotation

Card Puncher Data Processing

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:

  • Linux: CTRL + F12
  • Mac: Fn + Left CTRL + F12
  • Windows: Left CTRL + F11 or Left CTRL + F12







Share this page:
Follow us:
Task Runner