public final class

Transition

extends Object
java.lang.Object
   ↳ com.neomades.app.Transition

Class Overview

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.

Summary

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
From class java.lang.Object

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. Use this animation as an input transition ( setTransitionIn(Transition)).

public static final Transition FADE_OUT

Fade out animation: the screen alpha will change from 1 to 0. Use this animation as an output transition ( setTransitionOut(Transition)).

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. Use this animation as an input transition ( setTransitionIn(Transition)).

public static final Transition ZOOM_OUT

Zoom out animation: the screen will be scaled from 1 to 0. Use this animation as an output transition ( setTransitionOut(Transition)).