java.lang.Object | |
↳ | com.neomades.app.Transition |
Various animations to customize screen transitions.
Transitions can be set via setTransitionIn(Transition)
and setTransitionOut(Transition)
. A pushed or pop screen
with these ScreenParams
will be animated when displayed or
hidden. Several effects are available: fade or zoom.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final Transition | DEFAULT | The system default animation. | |||||||||
public static final Transition | FADE_IN | Fade in animation: the screen alpha will change from 0 to 1. | |||||||||
public static final Transition | FADE_OUT | Fade out animation: the screen alpha will change from 1 to 0. | |||||||||
public static final Transition | NONE | The NONE transition (no animation). |
|||||||||
public static final Transition | ZOOM_IN | Zoom in animation: the screen will be scaled from 0 to 1. | |||||||||
public static final Transition | ZOOM_OUT | Zoom out animation: the screen will be scaled from 1 to 0. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fade in animation: the screen alpha will change from 0 to 1. Use this
animation as an input transition (
setTransitionIn(Transition)
).
Fade out animation: the screen alpha will change from 1 to 0. Use this
animation as an output transition (
setTransitionOut(Transition)
).
Zoom in animation: the screen will be scaled from 0 to 1. Use this animation
as an input transition ( setTransitionIn(Transition)
).
Zoom out animation: the screen will be scaled from 1 to 0. Use this animation
as an output transition ( setTransitionOut(Transition)
).