Skip to content

Most visited

Recently visited

navigation

R.transition

public static final class R.transition
extends Object

java.lang.Object
   ↳ android.R.transition


Summary

Constants

int explode

A transition that moves views in or out of the scene to or from the edges when a view visibility changes.

int fade

A transition that fades views in and out.

int move

A transition that moves and resizes a view

int no_transition

Used for Activity Transitions, this transition indicates that no Transition should be used.

int slide_bottom

A transition that moves views in or out of the scene to or from the bottom edge when a view visibility changes.

int slide_left

A transition that moves views in or out of the scene to or from the left edge when a view visibility changes.

int slide_right

A transition that moves views in or out of the scene to or from the right edge when a view visibility changes.

int slide_top

A transition that moves views in or out of the scene to or from the top edge when a view visibility changes.

Public constructors

R.transition()

Inherited methods

From class java.lang.Object

Constants

explode

added in API level 21
int explode

A transition that moves views in or out of the scene to or from the edges when a view visibility changes.

Constant Value: 17760259 (0x010f0003)

fade

added in API level 21
int fade

A transition that fades views in and out.

Constant Value: 17760258 (0x010f0002)

move

added in API level 21
int move

A transition that moves and resizes a view

Constant Value: 17760257 (0x010f0001)

no_transition

added in API level 21
int no_transition

Used for Activity Transitions, this transition indicates that no Transition should be used.

Constant Value: 17760256 (0x010f0000)

slide_bottom

added in API level 21
int slide_bottom

A transition that moves views in or out of the scene to or from the bottom edge when a view visibility changes.

Constant Value: 17760260 (0x010f0004)

slide_left

added in API level 21
int slide_left

A transition that moves views in or out of the scene to or from the left edge when a view visibility changes.

Constant Value: 17760263 (0x010f0007)

slide_right

added in API level 21
int slide_right

A transition that moves views in or out of the scene to or from the right edge when a view visibility changes.

Constant Value: 17760262 (0x010f0006)

slide_top

added in API level 21
int slide_top

A transition that moves views in or out of the scene to or from the top edge when a view visibility changes.

Constant Value: 17760261 (0x010f0005)

Public constructors

R.transition

added in API level 21
R.transition ()

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.