setConfiguration

Replaces activity configuration. When only the scroll direction, scroll mode or page layout mode change, the new configuration is applied to the displayed document in place, keeping the current page and zoom. Any other change restarts the activity to apply the new configuration.

Note: This is a no-op when configuration has not changed.

Parameters

configuration

The configuration to apply.