Thumbnail
Watch Face Format version
Version 3
Version 2
Version 1
Represents a static image that appears on a watch face. This image represents
the first frame of the animation for a parent PartAnimatedImage
element.
Caution: If you don't specify this Thumbnail
element for a parent
PartAnimatedImage
element, the watch face instead loads the first frame of a
sibling AnimatedImage
element, represented by that element's thumbnail
attribute. This can be very slow.
Introduced in Wear OS 4.
Syntax
<Thumbnail resource="string ">
</Thumbnail>
Attributes
The Thumbnail
element has one required attribute, resource
. This is a string
a string that represents an image resource ID.
目前没有任何推荐文档页面。
请尝试登录 您的 Google 账号。
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-03-04 UTC.
[null,null,["Last updated 2025-03-04 UTC."],[],[]]