AnimatedImage

Element for drawing animated images (like GIF).

Syntax

<AnimatedImage resource="string" format="IMAGE | AGIF | WEBP"
                  thumbnail="string" />

Attributes

The AnimatedImage element must contain the following attributes:

resource
A resource ID referring to the animated resource to render.
format
The format of the animation. Supported values are AGIF, WEBP, and IMAGE.

The AnimatedImage element can optionally contain the following attributes:

thumbnail
A resource ID referring to a represenative thumbnail for the animation. This can be used to render in place of the AnimatedImage where animation is not supported (for example, in previews in the watch face carousel).