1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright 2021 The Android Open Source Project
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  -->
16<XmlWatchFace xmlns:android="http://schemas.android.com/apk/res/android"
17    xmlns:app="http://schemas.android.com/apk/res-auto">
18    <UserStyleSchema>
19        <ListUserStyleSetting
20            app:affectedWatchFaceLayers="BASE|COMPLICATIONS|COMPLICATIONS_OVERLAY"
21            app:defaultOptionIndex="1"
22            app:description="description"
23            app:displayName="displayName"
24            app:id="TimeStyle">
25            <ListOption
26                app:displayName="Minimal"
27                app:id="minimal" />
28            <ListOption
29                app:displayName="Seconds"
30                app:id="seconds" />
31        </ListUserStyleSetting>
32    </UserStyleSchema>
33    <ComplicationSlot
34        app:slotId="10"
35        app:boundsType="ROUND_RECT"
36        app:supportedTypes="SHORT_TEXT|RANGED_VALUE|SMALL_IMAGE"
37        app:primaryDataSource="com.app.example1/com.app.example1.Class"
38        app:primaryDataSourceDefaultType="SHORT_TEXT"
39        app:secondaryDataSource="com.app.example2/com.app.example2.Class"
40        app:secondaryDataSourceDefaultType="SMALL_IMAGE"
41        app:systemDataSourceFallback="DATA_SOURCE_WATCH_BATTERY"
42        app:systemDataSourceFallbackDefaultType="RANGED_VALUE">
43        <ComplicationSlotBounds app:left="0.3" app:top="0.7" app:right="0.7" app:bottom="0.9"/>
44    </ComplicationSlot>
45    <ComplicationSlot
46        app:slotId="20"
47        app:boundsType="BACKGROUND"
48        app:supportedTypes="PHOTO_IMAGE"
49        app:primaryDataSource="com.package/com.app"
50        app:primaryDataSourceDefaultType="PHOTO_IMAGE"
51        app:systemDataSourceFallback="DATA_SOURCE_SUNRISE_SUNSET"
52        app:systemDataSourceFallbackDefaultType="PHOTO_IMAGE">
53        <ComplicationSlotBounds app:left="0.1" app:top="0.2" app:right="0.3" app:bottom="0.4"/>
54    </ComplicationSlot>
55    <ComplicationSlot
56        app:slotId="30"
57        app:boundsType="EDGE"
58        app:supportedTypes="SHORT_TEXT|RANGED_VALUE"
59        app:primaryDataSource="com.app.example1/com.app.example1.Class"
60        app:primaryDataSourceDefaultType="SHORT_TEXT"
61        app:secondaryDataSource="com.app.example2/com.app.example2.Class"
62        app:secondaryDataSourceDefaultType="SMALL_IMAGE"
63        app:systemDataSourceFallback="DATA_SOURCE_WATCH_BATTERY"
64        app:systemDataSourceFallbackDefaultType="RANGED_VALUE"
65        app:startArcAngle="-45.0"
66        app:totalArcAngle="90.0"
67        app:arcThickness="0.1">
68        <ComplicationSlotBounds app:left="0.0" app:top="0.0" app:right="1.0" app:bottom="1.0"/>
69    </ComplicationSlot>
70</XmlWatchFace>
71