博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
AnimationSet
阅读量:4207 次
发布时间:2019-05-26

本文共 1266 字,大约阅读时间需要 4 分钟。

AnimationSet

extends 
   ↳
     ↳ android.view.animation.AnimationSet

Class Overview


Represents a group of Animations that should be played together. The transformation of each individual animation are composed together into a single transform. If AnimationSet sets any properties that its children also set (for example, duration or fillBefore), the values of AnimationSet override the child values.

The way that AnimationSet inherits behavior from Animation is important to understand. Some of the Animation attributes applied to AnimationSet affect the AnimationSet itself, some are pushed down to the children, and some are ignored, as follows:

  • duration, repeatMode, fillBefore, fillAfter: These properties, when set on an AnimationSet object, will be pushed down to all child animations.
  • repeatCount, fillEnabled: These properties are ignored for AnimationSet.
  • startOffset, shareInterpolator: These properties apply to the AnimationSet itself.
Starting with 
, the behavior of these properties is the same in XML resources and at runtime (prior to that release, the values set in XML were ignored for AnimationSet). That is, calling 
setDuration(500) on an AnimationSet has the same effect as declaring 
android:duration="500" in an XML resource for an AnimationSet object.

转载地址:http://yalli.baihongyu.com/

你可能感兴趣的文章
宝宝生病
查看>>
各种皮肤病——谁用谁灵!
查看>>
上海房屋租赁合同登记备案证明办理流程
查看>>
持居住证能落户?子女还能在沪高考
查看>>
虚拟机(Vmware)怎么进入BIOS
查看>>
Teradata Table Type
查看>>
Teradata IDENTITY Column
查看>>
Teradata Explain
查看>>
Teradata 之top n与sample n
查看>>
用trim去掉字符串末尾的任意字符
查看>>
oleload导excel数据
查看>>
Teradata 时间函数
查看>>
常用sql使用技巧
查看>>
Teradata join
查看>>
TERADATA中函数的使用
查看>>
Teradata各种类型Show 语句
查看>>
成龙在北大的演讲:值得每一个中国人看[精品]
查看>>
科目一2013年
查看>>
WF从入门到精通(第一章):WF简介
查看>>
WF从入门到精通(第二章):workflow运行时
查看>>