Hence,
for those particular configuration changes,
Android will not destroy and recreate the activity,
but instead will call onConfigurationChanged().
In the RotationDIYDemo implementation,
this simply toggles the orientation of the LinearLayout to match the orientation of the device