android-R.transition

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 ()
这里是控制动画的在API21才出来的
可以看一看:http://www.tuicool.com/articles/zAZNVn
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值