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
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
int fade
A transition that fades views in and out.
Constant Value: 17760258 (0x010f0002)
move
int move
A transition that moves and resizes a view
Constant Value: 17760257 (0x010f0001)
no_transition
int no_transition
Used for Activity Transitions, this transition indicates that no Transition should be used.
Constant Value: 17760256 (0x010f0000)
slide_bottom
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
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
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
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
R.transition ()
这里是控制动画的在API21才出来的
可以看一看:http://www.tuicool.com/articles/zAZNVn