AnimatedImages 表示一种容器元素,其中包含多个 AnimatedImage
元素。发生操作时,系统会切换到下一个内部元素。
语法
<AnimatedImages change="TAP | ON_VISIBLE | ON_NEXT_SECOND | ON_NEXT_MINUTE | ON_NEXT_HOUR"> <!-- Only the most common inner element is shown here. --> <AnimatedImage /> ... <AnimatedImages />
属性
AnimatedImages
元素可以包含以下可选属性:
change
表示一组事件触发器类型,用于确定资源何时变为列表中的下一项。可能的值包括下列项:
TAP
(默认值):当用户点按元素时发生变更。ON_VISIBLE
:当下一个元素变得可见时发生变更。ON_NEXT_SECOND
:下一秒开始时发生变更。ON_NEXT_MINUTE
:下一分钟开始时发生变更。ON_NEXT_HOUR
:下一个小时开始时发生变更。
内部元素
AnimatedImages
元素可以包含任意数量的 AnimatedImage
和 SequenceImage
元素。
目前没有任何推荐文档页面。
请尝试登录您的 Google 账号。