Android Utililty Methods Activity Rotate

List of utility methods to do Activity Rotate

Description

The list of methods to do Activity Rotate are organized into topic(s).

Method

voidrotateActivity(Activity activity)
Rotates the given activity.
activity.setRequestedOrientation(activity.getResources()
        .getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT ? ORIENTATION_LANDSCAPE
        : ORIENTATION_PORTRAIT);