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.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# AnimatedImages\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nA container element containing many `AnimatedImage` elements. When an action\noccurs, the system switches to the next inner element.\n\nSyntax\n------\n\n```xml\n\u003cAnimatedImages change=\"TAP | ON_VISIBLE | ON_NEXT_SECOND | ON_NEXT_MINUTE | ON_NEXT_HOUR\"\u003e\n \u003c!-- Only the most common inner element is shown here. --\u003e\n \u003cAnimatedImage /\u003e\n ...\n\u003cAnimatedImages /\u003e\n```\n\nAttributes\n----------\n\nThe `AnimatedImages` element can contain the following optional attributes:\n\n`change`\n\n: A set of event trigger types which determines when the resource changes to\n the next in the list. Possible values include the following:\n\n - `TAP` (default): The change occurs when the user taps on the element.\n - `ON_VISIBLE`: The change occurs when the element next becomes visible.\n - `ON_NEXT_SECOND`: The change occurs when the next second begins.\n - `ON_NEXT_MINUTE`: The change occurs when the next minute begins.\n - `ON_NEXT_HOUR`: The change occurs when the next hour begins.\n\nInner elements\n--------------\n\nThe `AnimatedImages` element can contain any number of [`AnimatedImage`](/training/wearables/wff/group/part/animated-image/animated-image) and\n[`SequenceImage`](/training/wearables/wff/group/part/animated-image/sequence-image) elements.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Images](/training/wearables/wff/v2/group/part/image/images)\n- [Images](/training/wearables/wff/group/part/image/images)\n- [AnimationController](/training/wearables/wff/group/part/animated-image/animation-controller)"]]