CustomTabAnimation¶
Represents a pair of enter and exit animations for opening and closing Custom Tabs.
Overview¶
CustomTabAnimation contains two animation values: one for enter transitions and one for exit transitions.
It is used for both open and close animation configuration.
Constructor¶
public CustomTabAnimation(
CustomTabAnimationType enterAnimation,
CustomTabAnimationType exitAnimation
)
Creates a new animation pair.
Parameters
enterAnimation(CustomTabAnimationType):- When used as open animation: plays when the
CustomTabenters. - When used as close animation: plays when the calling context re-enters.
exitAnimation(CustomTabAnimationType):- When used as open animation: plays when the calling context exits.
- When used as close animation: plays when the
CustomTabexits.
Properties¶
EnterAnimation¶
Animation played when the Custom Tab (or calling context) enters the screen.
Remarks
- When used as
OpenAnimation, this plays when the tab enters. - When used as
CloseAnimation, this plays when your app re-enters.
ExitAnimation¶
Animation played when the Custom Tab (or calling context) exits the screen.
Remarks
- When used as
OpenAnimation, this plays when your app exits. - When used as
CloseAnimation, this plays when the tab exits.