The SequenceImages element can contain the following optional attributes:
loopCount
How many times to repeat an animation before it stops. Defaults to 1.
thumbnail
A resource ID referring to a representative thumbnail for the animation. This
can be used to render in place of the SequenceImages where animation is not
supported (for example, in previews in the watch face carousel).
frameRate
Allows developers to set the speed at which frames included in the
SequenceImages should be played. For example, if the frameRate of
SequenceImages with 30 images is set to 15, it is animated to show 30 frames
in 2 seconds. If the frameRate is set to 30, 30 frames are played in 1
second.
Note also that this attribute determines the playback speed, but the device
may skip frames if it doesn't support the requested framerate. For example, if a
device with a framerate limit of 15 FPS shows a watch face where frameRate is
set to 30 in a SequenceImages element, that element shows every other frame
to emulate the requested framerate.
Inner elements
The SequenceImages element can contain any number of Image
elements.
Recommended for you
Note: link text is displayed when JavaScript is off
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["# SequenceImages\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nThe `SequenceImages` tag creates an animation from a sequence of images.\n\nSyntax\n------\n\n```xml\n\u003cSequenceImages loopCount=\"integer\" thumbnail=\"string\"\u003e\n \u003cImage /\u003e\n ...\n\u003c/SequenceImages\u003e\n```\n\nAttributes\n----------\n\nThe `SequenceImages` element can contain the following optional attributes:\n\n`loopCount`\n: How many times to repeat an animation before it stops. Defaults to 1.\n\n`thumbnail`\n: A resource ID referring to a representative thumbnail for the animation. This\n can be used to render in place of the `SequenceImages` where animation is not\n supported (for example, in previews in the watch face carousel).\n\n`frameRate`\n\n: Allows developers to set the speed at which frames included in the\n `SequenceImages` should be played. For example, if the `frameRate` of\n `SequenceImages` with 30 images is set to `15`, it is animated to show 30 frames\n in 2 seconds. If the `frameRate` is set to `30`, 30 frames are played in 1\n second.\n\n: Note also that this attribute determines the playback speed, but the device\n may skip frames if it doesn't support the requested framerate. For example, if a\n device with a framerate limit of 15 FPS shows a watch face where `frameRate` is\n set to `30` in a `SequenceImages` element, that element shows every other frame\n to emulate the requested framerate.\n\nInner elements\n--------------\n\nThe `SequenceImages` element can contain any number of [`Image`](/training/wearables/wff/group/part/image/image)\nelements.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Bluetooth permissions](/develop/connectivity/bluetooth/bt-permissions)\n- [Resources in Compose](/develop/ui/compose/resources)\n- [Content parameters](/develop/ui/compose/tooling/relay/content-parameters-advanced)"]]