Screen transitions

You can create a transition to apply a visual effect that appears when an application opens or closes a screen on a BlackBerry® device. Creating transitions between screens helps users understand the structure of your application. Consider the following guidelines when implementing screen transitions:

Transition

When to use

Details

Fade

The content is the same but users change their view of the content (for example, switching between day and week view in a calendar or switching between viewing a list of images and viewing the thumbnails of the same images).

Set the duration of the fade to 150 milliseconds.

Slide

Users move to an item at the same level in the navigation hierarchy (for example, from one message, photo, song, or contact to another).

When users move to the next item, slide the item in from the left to the right. When users move to the previous item, slide the item in from the right to the left.

Zoom

Users move to an item at a different level in the navigation hierarchy (for example, from a parent item to a child item or a child item to a parent item).

Users create a new item, send an item, or save an item.

The zoom transition is the most common type of transition between screens.

Zoom in when moving from a parent item to a child item. Zoom out when moving from a child item to a parent item.

When users open the application from the Home screen, zoom in from the center of the screen.

Set the scale of the zoom to 110 percent.

Provide consistent transitions as users navigate the application. Use the TransitionContext class to implement a transition between screens. For more information about implementing transitions between screens, see the API reference guide for the BlackBerry® Java® SDK and the BlackBerry Java Application UI and Navigation Development Guide.

Related concepts
Next topic: Containers

Was this information helpful? Send us your comments.