AndroidBrowserTransition¶
Enter and exit animation pair used when opening or closing the in-app browser.
Kodster.InAppWebBrowser.Android.AndroidBrowserTransition
Constructor¶
public AndroidBrowserTransition(
AndroidBrowserTransition.Animation enterAnimation,
AndroidBrowserTransition.Animation exitAnimation
)
Creates a transition with explicit enter and exit animations.
Parameters
enterAnimation(AndroidBrowserTransition.Animation):- Open transition: the animation played as the browser enters the screen.
- Close transition: the animation played as app re-enters the screen.
exitAnimation(AndroidBrowserTransition.Animation):- Open transition: the animation played as app exits the screen.
- Close transition: the animation played as the browser exits the screen.
Static Presets¶
Fade¶
A fade-in / fade-out transition.
HorizontalSlide¶
A horizontal slide transition: enters from the left, exits to the right.
VerticalSlide¶
A vertical slide transition: enters from the bottom, exits downward.
Properties¶
EnterAnimation¶
Animation played as the browser or host app enters the screen, depending on transition direction.
ExitAnimation¶
Animation played as the browser or host app exits the screen, depending on transition direction.
Nested Types¶
Animation¶
Animation styles available for browser open and close transitions.
| Value | Description |
|---|---|
FadeIn |
Fade in from transparent to opaque. |
FadeOut |
Fade out from opaque to transparent. |
SlideInLeft |
Slide in from the left edge of the screen. |
SlideOutRight |
Slide out toward the right edge of the screen. |
SlideInUp |
Slide in from the bottom edge of the screen. |
SlideOutDown |
Slide out toward the bottom edge of the screen. |