public static final class R.transition
extends Object



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

transition()

Inherited methods

From class java.lang.Object

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Constants

explode

public static final 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

public static final int fade

A transition that fades views in and out.

Constant Value: 17760258 (0x010f0002)

move

public static final int move

A transition that moves and resizes a view

Constant Value: 17760257 (0x010f0001)

no_transition

public static final int no_transition

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

Constant Value: 17760256 (0x010f0000)

slide_bottom

public static final 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

public static final 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

public static final 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

public static final 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

transition

public transition ()

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.