Stay organized with collections
Save and categorize content based on your preferences.
A Complication Slot is an area of the watch face that a Complication can be
added by the user. Complication Slots contain Complication elements, which
define how the Complication is rendered for different Complication Types and in
different watch face modes.
The ComplicationSlot has the following attributes:
Required attributes
The following attributes are required:
x, y, width, height
A collection of integers that specify the element's size and position.
slotId
A unique numeric identifier for the slot.
supportedTypes
The types of complication that can be displayed in the slot. See Complication Types for details.
Multiple complication types can be supported by separating them with a space (for
example, SHORT_TEXT RANGED_VALUE).
Optional attributes
The following attributes are optional:
pivotX, pivotY
A two-dimensional pivot point about which the element rotates. Both values
are floating-point numbers that are scaled to fit in the range $ [0, 1] $.
angle
A number of degrees, clockwise, that the element should be rotated about its
pivot point.
alpha
Set the level of transparency that this element should have. A value of 0
indicates that the element should be completely transparent. A value of 255
indicates that the element should be completely opaque.
scaleX
The horizontal scaling factor to apply to this element.
scaleY
The vertical scaling factor to apply to this element.
tintColor
Apply a tint color filter to the element. You must specify the color using
either the ARGB format (#ff000000 = opaque black) or the RGB format
(#000000 = black).
displayName
A resource ID corresponding to a localized name for the complication slot,
which is displayed in the watch face editor.
isCustomizable
Determines whether a user can change the provider for this slot in the watch
face editor. Defaults to TRUE.
Inner elements
The ComplicationSlot element must contain exactly one Bounding Area
element.
A ComplicationSlot element must contain at least a Complication element
per supported Complication Type. A ComplicationSlot element can optionally
contain more Complication elements to support changing appearance with
Variant elements.
The ComplicationSlot element can also contain the following inner elements:
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,["# ComplicationSlot\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nA Complication Slot is an area of the watch face that a Complication can be\nadded by the user. Complication Slots contain [Complication](/training/wearables/tiles/complications) elements, which\ndefine how the Complication is rendered for different Complication Types and in\ndifferent watch face modes.\n| **Note:** A watch face can have at most eight instances of `ComplicationSlot`, total.\n\nIntroduced in Wear OS 4.\n\nSyntax\n------\n\n```xml\n\u003cComplicationSlot x=\"integer\" y=\"integer\" width=\"integer\"\n height=\"integer\" pivotX=\"float\" pivotY=\"float\"\n angle=\"float-degrees\" alpha=\"integer\" slotId=\"integer\"\n name=\"string\" displayName=\"string\" scaleX=\"float\" scaleY=\"float\"\n supportedTypes=\"SHORT_TEXT | LONG_TEXT | MONOCHROMATIC_IMAGE | SMALL_IMAGE | PHOTO_IMAGE | RANGED_VALUE | EMPTY\"\n isCustomizable=\"boolean\"\n tintColor=\"argb-color | rgb-color\" /\u003e\n```\n\nAttributes\n----------\n\nThe `ComplicationSlot` has the following attributes:\n\n### Required attributes\n\nThe following attributes are required:\n\n`x`, `y`, `width`, `height`\n: A collection of integers that specify the element's size and position.\n\n`slotId`\n: A unique numeric identifier for the slot.\n\n`supportedTypes`\n: The types of complication that can be displayed in the slot. See [Complication Types](/training/wearables/tiles/complications) for details.\n Multiple complication types can be supported by separating them with a space (for\n example, `SHORT_TEXT RANGED_VALUE`).\n\n### Optional attributes\n\nThe following attributes are optional:\n\n`pivotX`, `pivotY`\n: A two-dimensional pivot point about which the element rotates. Both values\n are floating-point numbers that are scaled to fit in the range $ \\[0, 1\\] $.\n\n`angle`\n: A number of degrees, clockwise, that the element should be rotated about its\n pivot point.\n\n`alpha`\n: Set the level of transparency that this element should have. A value of `0`\n indicates that the element should be completely transparent. A value of `255`\n indicates that the element should be completely opaque.\n\n`scaleX`\n: The horizontal scaling factor to apply to this element.\n\n`scaleY`\n: The vertical scaling factor to apply to this element.\n\n`tintColor`\n: Apply a tint color filter to the element. You must specify the color using\n either the ARGB format (`#ff000000` = opaque black) or the RGB format\n (`#000000` = black).\n\n`displayName`\n: A resource ID corresponding to a localized name for the complication slot,\n which is displayed in the watch face editor.\n\n`isCustomizable`\n: Determines whether a user can change the provider for this slot in the watch\n face editor. Defaults to `TRUE`.\n\nInner elements\n--------------\n\nThe `ComplicationSlot` element must contain exactly one [Bounding Area](/training/wearables/wff/complication/bounding)\nelement.\n\nA `ComplicationSlot` element must contain at least a [Complication](/training/wearables/wff/complication/complication) element\nper supported Complication Type. A `ComplicationSlot` element can optionally\ncontain more [Complication](/training/wearables/wff/complication/complication) elements to support changing appearance with\n[Variant](/training/wearables/wff/common/variant/variant) elements.\n\nThe `ComplicationSlot` element can also contain the following inner elements:\n\n- [`DefaultProviderPolicy`](/training/wearables/wff/complication/default-provider-policy)\n- [`Variant`](/training/wearables/wff/common/variant/variant)\n- [`ScreenReader`](/training/wearables/wff/common/screen-reader)\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [PartImage](/training/wearables/wff/v2/group/part/image/part-image)\n- [PartText](/training/wearables/wff/v2/group/part/text/part-text)"]]