Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/R.transition#constants) \| [Ctors](https://developer.android.com/reference/android/R.transition#pubctors) \| [Inherited Methods](https://developer.android.com/reference/android/R.transition#inhmethods)

# R.transition

*** ** * ** ***

` public static final class R.transition `   
` extends https://developer.android.com/reference/java/lang/Object ` ` `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.R.transition |

<br />

*** ** * ** ***

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/R.transition#explode` A transition that moves views in or out of the scene to or from the edges when a view visibility changes. |
| `int` | `https://developer.android.com/reference/android/R.transition#fade` A transition that fades views in and out. |
| `int` | `https://developer.android.com/reference/android/R.transition#move` A transition that moves and resizes a view |
| `int` | `https://developer.android.com/reference/android/R.transition#no_transition` Used for Activity Transitions, this transition indicates that no Transition should be used. |
| `int` | `https://developer.android.com/reference/android/R.transition#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` | `https://developer.android.com/reference/android/R.transition#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` | `https://developer.android.com/reference/android/R.transition#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` | `https://developer.android.com/reference/android/R.transition#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 ||
|---|---|
| ` https://developer.android.com/reference/android/R.transition#transition()() ` |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(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` ` https://developer.android.com/reference/java/lang/Object#wait(long)(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` ` https://developer.android.com/reference/java/lang/Object#wait()() `

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

## Constants

### explode

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

Constant Value: 17760259 (0x010f0003)

### fade

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int fade
```

A transition that fades views in and out.

<br />

Constant Value: 17760258 (0x010f0002)

### move

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int move
```

A transition that moves and resizes a view

<br />

Constant Value: 17760257 (0x010f0001)

### no_transition

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int no_transition
```

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

<br />

Constant Value: 17760256 (0x010f0000)

### slide_bottom

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

Constant Value: 17760260 (0x010f0004)

### slide_left

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

Constant Value: 17760263 (0x010f0007)

### slide_right

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

Constant Value: 17760262 (0x010f0006)

### slide_top

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

Constant Value: 17760261 (0x010f0005)

## Public constructors

### transition

```
public transition ()
```

<br />

<br />