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,["# Scene\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nA scene is a container of visual tags. Each watch face must contain exactly one\n`Scene` element.\n\nSyntax\n------\n\n```xml\n\u003cScene backgroundColor=\"argb-color\"\u003e\n \u003c!-- Only the most common inner element is shown here. --\u003e\n \u003cGroup ... /\u003e\n ...\n\u003c/Scene\u003e\n```\n\nAttributes\n----------\n\nA `Scene` element can contain a `backgroundColor` attribute, set to an [ARGB\ncolor value](/reference/android/graphics/Color#color-ints), that represents the watch face scene's background color.\n\nIf this attribute is undefined or set to an invalid value, the system uses the\ndefault value of `#ff000000` (opaque black).\n\nFrom version 4, this attribute is [transformable](/training/wearables/wff/common/transform/transform).\n\nInner elements\n--------------\n\nThe `Scene` element must contain at least one of the following inner elements:\n\n- [`Group`](/training/wearables/wff/group/group)\n- [`Condition`](/training/wearables/wff/common/condition)\n- [`ListConfiguration`](/training/wearables/wff/user-configuration/list-configuration)\n- [`BooleanConfiguration`](/training/wearables/wff/user-configuration/boolean-configuration)\n- [`Variant`](/training/wearables/wff/common/variant/variant)\n- [`ComplicationSlot`](/training/wearables/wff/complication/complication-slot)\n- [`AnalogClock`](/training/wearables/wff/clock/analog-clock)\n- [`DigitalClock`](/training/wearables/wff/clock/digital-clock)\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [Group](/training/wearables/wff/group/group)\n- [ListConfiguration](/training/wearables/wff/group/configuration/list-configuration)\n- [BooleanConfiguration](/training/wearables/wff/group/configuration/boolean-configuration)"]]