setFullScreen
public static void setFullScreen(android.app.Activity activity,
boolean isFullScreen)
Setup full screen for current Activity. Helpful for Video Player, when User changes from
Portrait to Landscape and vice versa. Should be called in Activity.onConfigurationChanged(Configuration)
NOTE: Activity must use android:configChanges="orientation|screenSize|keyboardHidden"
in Manifest.
- Parameters:
activity - Activity which is being set up.
isFullScreen - true to Set current Activity to Fullscreen, false to set
current Activity to normal state.