add watchface complications
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 757 B |
@@ -151,10 +151,10 @@
|
|||||||
|
|
||||||
</DigitalClock>
|
</DigitalClock>
|
||||||
|
|
||||||
<!-- WEATHER -->
|
<!-- TOP LEFT COMPLICATION -->
|
||||||
|
|
||||||
<Group
|
<Group
|
||||||
name="weather"
|
name="top_left_background"
|
||||||
x="70"
|
x="70"
|
||||||
y="54"
|
y="54"
|
||||||
width="80"
|
width="80"
|
||||||
@@ -180,16 +180,16 @@
|
|||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="0"
|
x="2"
|
||||||
y="0"
|
y="2"
|
||||||
width="76"
|
width="76"
|
||||||
height="76">
|
height="76">
|
||||||
<Fill color="#0000004D"/>
|
<Fill color="#0000004D"/>
|
||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="1"
|
x="3"
|
||||||
y="1"
|
y="3"
|
||||||
width="74"
|
width="74"
|
||||||
height="74">
|
height="74">
|
||||||
<Stroke
|
<Stroke
|
||||||
@@ -199,123 +199,147 @@
|
|||||||
|
|
||||||
</PartDraw>
|
</PartDraw>
|
||||||
|
|
||||||
|
|
||||||
<PartDraw
|
|
||||||
x="11"
|
|
||||||
y="23"
|
|
||||||
width="25"
|
|
||||||
height="35">
|
|
||||||
|
|
||||||
<RoundRectangle
|
|
||||||
x="9"
|
|
||||||
y="1"
|
|
||||||
width="7"
|
|
||||||
height="22"
|
|
||||||
cornerRadiusX="4"
|
|
||||||
cornerRadiusY="4">
|
|
||||||
|
|
||||||
<Stroke
|
|
||||||
color="#FFFFFFFF"
|
|
||||||
thickness="2.5"
|
|
||||||
cap="ROUND"/>
|
|
||||||
|
|
||||||
</RoundRectangle>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="6"
|
|
||||||
y="19"
|
|
||||||
width="13"
|
|
||||||
height="13">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<RoundRectangle
|
|
||||||
x="11"
|
|
||||||
y="8"
|
|
||||||
width="3"
|
|
||||||
height="18"
|
|
||||||
cornerRadiusX="2"
|
|
||||||
cornerRadiusY="2">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</RoundRectangle>
|
|
||||||
|
|
||||||
</PartDraw>
|
|
||||||
|
|
||||||
|
|
||||||
<Condition>
|
|
||||||
|
|
||||||
<Expressions>
|
|
||||||
<Expression name="weatherAvailable">
|
|
||||||
[WEATHER.IS_AVAILABLE]
|
|
||||||
</Expression>
|
|
||||||
</Expressions>
|
|
||||||
|
|
||||||
<Compare expression="weatherAvailable">
|
|
||||||
|
|
||||||
<PartText
|
|
||||||
x="33"
|
|
||||||
y="17"
|
|
||||||
width="40"
|
|
||||||
height="44">
|
|
||||||
|
|
||||||
<Text
|
|
||||||
align="CENTER"
|
|
||||||
verticalAlign="CENTER"
|
|
||||||
isAutoSize="TRUE">
|
|
||||||
|
|
||||||
<Font
|
|
||||||
family="SYNC_TO_DEVICE"
|
|
||||||
size="25"
|
|
||||||
weight="BOLD"
|
|
||||||
color="#FFFFFFFF">
|
|
||||||
|
|
||||||
<Template><![CDATA[%d°]]>
|
|
||||||
<Parameter expression="[WEATHER.TEMPERATURE]"/>
|
|
||||||
</Template>
|
|
||||||
|
|
||||||
</Font>
|
|
||||||
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
</PartText>
|
|
||||||
|
|
||||||
</Compare>
|
|
||||||
|
|
||||||
<Default>
|
|
||||||
|
|
||||||
<PartText
|
|
||||||
x="33"
|
|
||||||
y="17"
|
|
||||||
width="40"
|
|
||||||
height="44">
|
|
||||||
|
|
||||||
<Text
|
|
||||||
align="CENTER"
|
|
||||||
verticalAlign="CENTER">
|
|
||||||
|
|
||||||
<Font
|
|
||||||
family="SYNC_TO_DEVICE"
|
|
||||||
size="24"
|
|
||||||
weight="BOLD"
|
|
||||||
color="#FFFFFFFF">
|
|
||||||
—
|
|
||||||
</Font>
|
|
||||||
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
</PartText>
|
|
||||||
|
|
||||||
</Default>
|
|
||||||
|
|
||||||
</Condition>
|
|
||||||
|
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<ComplicationSlot
|
||||||
|
name="top_left_complication"
|
||||||
|
slotId="1"
|
||||||
|
x="70"
|
||||||
|
y="54"
|
||||||
|
width="80"
|
||||||
|
height="80"
|
||||||
|
supportedTypes="SHORT_TEXT SMALL_IMAGE MONOCHROMATIC_IMAGE EMPTY">
|
||||||
|
|
||||||
<!-- BATTERY -->
|
<Variant
|
||||||
|
mode="AMBIENT"
|
||||||
|
target="alpha"
|
||||||
|
value="0"/>
|
||||||
|
|
||||||
|
<BoundingOval
|
||||||
|
x="2"
|
||||||
|
y="2"
|
||||||
|
width="76"
|
||||||
|
height="76"
|
||||||
|
outlinePadding="2"/>
|
||||||
|
|
||||||
|
<DefaultProviderPolicy
|
||||||
|
defaultSystemProvider="EMPTY"
|
||||||
|
defaultSystemProviderType="EMPTY"/>
|
||||||
|
|
||||||
|
<Complication type="SHORT_TEXT">
|
||||||
|
|
||||||
|
<Condition>
|
||||||
|
<Expressions>
|
||||||
|
<Expression name="top_leftHasIcon"><![CDATA[
|
||||||
|
[COMPLICATION.MONOCHROMATIC_IMAGE] != null
|
||||||
|
]]></Expression>
|
||||||
|
</Expressions>
|
||||||
|
|
||||||
|
<Compare expression="top_leftHasIcon">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="10"
|
||||||
|
y="28"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="36"
|
||||||
|
y="18"
|
||||||
|
width="34"
|
||||||
|
height="44">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="23"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Compare>
|
||||||
|
|
||||||
|
<Default>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="10"
|
||||||
|
y="16"
|
||||||
|
width="60"
|
||||||
|
height="48">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="24"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Default>
|
||||||
|
|
||||||
|
</Condition>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="SMALL_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="18"
|
||||||
|
y="18"
|
||||||
|
width="44"
|
||||||
|
height="44">
|
||||||
|
<Image resource="[COMPLICATION.SMALL_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="MONOCHROMATIC_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="20"
|
||||||
|
y="20"
|
||||||
|
width="40"
|
||||||
|
height="40"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
</ComplicationSlot>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- TOP RIGHT COMPLICATION -->
|
||||||
|
|
||||||
<Group
|
<Group
|
||||||
name="battery"
|
name="top_right_background"
|
||||||
x="300"
|
x="300"
|
||||||
y="54"
|
y="54"
|
||||||
width="80"
|
width="80"
|
||||||
@@ -341,16 +365,16 @@
|
|||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="4"
|
x="2"
|
||||||
y="0"
|
y="2"
|
||||||
width="76"
|
width="76"
|
||||||
height="76">
|
height="76">
|
||||||
<Fill color="#0000004D"/>
|
<Fill color="#0000004D"/>
|
||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="5"
|
x="3"
|
||||||
y="1"
|
y="3"
|
||||||
width="74"
|
width="74"
|
||||||
height="74">
|
height="74">
|
||||||
<Stroke
|
<Stroke
|
||||||
@@ -358,70 +382,144 @@
|
|||||||
thickness="1"/>
|
thickness="1"/>
|
||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<Arc
|
|
||||||
centerX="42"
|
|
||||||
centerY="38"
|
|
||||||
width="57"
|
|
||||||
height="57"
|
|
||||||
startAngle="-135"
|
|
||||||
endAngle="135">
|
|
||||||
|
|
||||||
<Stroke
|
|
||||||
color="#35FFFFFF"
|
|
||||||
thickness="3.5"
|
|
||||||
cap="ROUND"/>
|
|
||||||
|
|
||||||
</Arc>
|
|
||||||
|
|
||||||
<Arc
|
|
||||||
centerX="42"
|
|
||||||
centerY="38"
|
|
||||||
width="57"
|
|
||||||
height="57"
|
|
||||||
startAngle="-135"
|
|
||||||
endAngle="-135">
|
|
||||||
|
|
||||||
<Transform
|
|
||||||
target="endAngle"
|
|
||||||
value="-135 + ([BATTERY_PERCENT] * 2.7)"/>
|
|
||||||
|
|
||||||
<Stroke
|
|
||||||
color="#FFFFFFFF"
|
|
||||||
thickness="3.5"
|
|
||||||
cap="ROUND"/>
|
|
||||||
|
|
||||||
</Arc>
|
|
||||||
|
|
||||||
<RoundRectangle
|
|
||||||
x="29"
|
|
||||||
y="31"
|
|
||||||
width="25"
|
|
||||||
height="14"
|
|
||||||
cornerRadiusX="3"
|
|
||||||
cornerRadiusY="3">
|
|
||||||
|
|
||||||
<Stroke
|
|
||||||
color="#FFFFFFFF"
|
|
||||||
thickness="2.5"/>
|
|
||||||
|
|
||||||
</RoundRectangle>
|
|
||||||
|
|
||||||
<RoundRectangle
|
|
||||||
x="54"
|
|
||||||
y="35"
|
|
||||||
width="4"
|
|
||||||
height="6"
|
|
||||||
cornerRadiusX="1"
|
|
||||||
cornerRadiusY="1">
|
|
||||||
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
|
|
||||||
</RoundRectangle>
|
|
||||||
|
|
||||||
</PartDraw>
|
</PartDraw>
|
||||||
|
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<ComplicationSlot
|
||||||
|
name="top_right_complication"
|
||||||
|
slotId="2"
|
||||||
|
x="300"
|
||||||
|
y="54"
|
||||||
|
width="80"
|
||||||
|
height="80"
|
||||||
|
supportedTypes="SHORT_TEXT SMALL_IMAGE MONOCHROMATIC_IMAGE EMPTY">
|
||||||
|
|
||||||
|
<Variant
|
||||||
|
mode="AMBIENT"
|
||||||
|
target="alpha"
|
||||||
|
value="0"/>
|
||||||
|
|
||||||
|
<BoundingOval
|
||||||
|
x="2"
|
||||||
|
y="2"
|
||||||
|
width="76"
|
||||||
|
height="76"
|
||||||
|
outlinePadding="2"/>
|
||||||
|
|
||||||
|
<DefaultProviderPolicy
|
||||||
|
defaultSystemProvider="WATCH_BATTERY"
|
||||||
|
defaultSystemProviderType="SHORT_TEXT"/>
|
||||||
|
|
||||||
|
<Complication type="SHORT_TEXT">
|
||||||
|
|
||||||
|
<Condition>
|
||||||
|
<Expressions>
|
||||||
|
<Expression name="top_rightHasIcon"><![CDATA[
|
||||||
|
[COMPLICATION.MONOCHROMATIC_IMAGE] != null
|
||||||
|
]]></Expression>
|
||||||
|
</Expressions>
|
||||||
|
|
||||||
|
<Compare expression="top_rightHasIcon">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="10"
|
||||||
|
y="28"
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="36"
|
||||||
|
y="18"
|
||||||
|
width="34"
|
||||||
|
height="44">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="23"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Compare>
|
||||||
|
|
||||||
|
<Default>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="10"
|
||||||
|
y="16"
|
||||||
|
width="60"
|
||||||
|
height="48">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="24"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Default>
|
||||||
|
|
||||||
|
</Condition>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="SMALL_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="18"
|
||||||
|
y="18"
|
||||||
|
width="44"
|
||||||
|
height="44">
|
||||||
|
<Image resource="[COMPLICATION.SMALL_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="MONOCHROMATIC_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="20"
|
||||||
|
y="20"
|
||||||
|
width="40"
|
||||||
|
height="40"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
</ComplicationSlot>
|
||||||
|
|
||||||
|
|
||||||
<!-- CHAT / VOICE -->
|
<!-- CHAT / VOICE -->
|
||||||
|
|
||||||
@@ -444,9 +542,8 @@
|
|||||||
height="60">
|
height="60">
|
||||||
|
|
||||||
<Launch
|
<Launch
|
||||||
target="ru.shadowsparky.gigawear/ru.shadowsparky.gigawear.presentation.MainActivity" />
|
target="ru.shadowsparky.gigawear/ru.shadowsparky.gigawear.presentation.MainActivity"/>
|
||||||
|
|
||||||
<!-- shadow -->
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="2"
|
x="2"
|
||||||
y="4"
|
y="4"
|
||||||
@@ -455,7 +552,6 @@
|
|||||||
<Fill color="#40000000"/>
|
<Fill color="#40000000"/>
|
||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<!-- background -->
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="2"
|
x="2"
|
||||||
y="2"
|
y="2"
|
||||||
@@ -464,7 +560,6 @@
|
|||||||
<Fill color="#0000004D"/>
|
<Fill color="#0000004D"/>
|
||||||
</Ellipse>
|
</Ellipse>
|
||||||
|
|
||||||
<!-- border -->
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
x="3"
|
x="3"
|
||||||
y="3"
|
y="3"
|
||||||
@@ -548,10 +643,10 @@
|
|||||||
|
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<!-- STEPS -->
|
<!-- BOTTOM COMPLICATION -->
|
||||||
|
|
||||||
<Group
|
<Group
|
||||||
name="steps"
|
name="bottom_complication_background"
|
||||||
x="145"
|
x="145"
|
||||||
y="347"
|
y="347"
|
||||||
width="160"
|
width="160"
|
||||||
@@ -575,9 +670,7 @@
|
|||||||
height="59"
|
height="59"
|
||||||
cornerRadiusX="30"
|
cornerRadiusX="30"
|
||||||
cornerRadiusY="30">
|
cornerRadiusY="30">
|
||||||
|
|
||||||
<Fill color="#40000000"/>
|
<Fill color="#40000000"/>
|
||||||
|
|
||||||
</RoundRectangle>
|
</RoundRectangle>
|
||||||
|
|
||||||
<RoundRectangle
|
<RoundRectangle
|
||||||
@@ -587,9 +680,7 @@
|
|||||||
height="58"
|
height="58"
|
||||||
cornerRadiusX="29"
|
cornerRadiusX="29"
|
||||||
cornerRadiusY="29">
|
cornerRadiusY="29">
|
||||||
|
|
||||||
<Fill color="#0000004D"/>
|
<Fill color="#0000004D"/>
|
||||||
|
|
||||||
</RoundRectangle>
|
</RoundRectangle>
|
||||||
|
|
||||||
<RoundRectangle
|
<RoundRectangle
|
||||||
@@ -599,102 +690,179 @@
|
|||||||
height="56"
|
height="56"
|
||||||
cornerRadiusX="28"
|
cornerRadiusX="28"
|
||||||
cornerRadiusY="28">
|
cornerRadiusY="28">
|
||||||
|
|
||||||
<Stroke
|
<Stroke
|
||||||
color="#35FFFFFF"
|
color="#35FFFFFF"
|
||||||
thickness="1"/>
|
thickness="1"/>
|
||||||
|
|
||||||
</RoundRectangle>
|
</RoundRectangle>
|
||||||
|
|
||||||
</PartDraw>
|
</PartDraw>
|
||||||
|
|
||||||
|
|
||||||
<PartDraw
|
|
||||||
x="24"
|
|
||||||
y="14"
|
|
||||||
width="38"
|
|
||||||
height="31">
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="6"
|
|
||||||
y="8"
|
|
||||||
width="9"
|
|
||||||
height="15">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="5"
|
|
||||||
y="3"
|
|
||||||
width="5"
|
|
||||||
height="5">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="11"
|
|
||||||
y="1"
|
|
||||||
width="5"
|
|
||||||
height="5">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="24"
|
|
||||||
y="11"
|
|
||||||
width="9"
|
|
||||||
height="15">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="24"
|
|
||||||
y="6"
|
|
||||||
width="5"
|
|
||||||
height="5">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
<Ellipse
|
|
||||||
x="30"
|
|
||||||
y="4"
|
|
||||||
width="5"
|
|
||||||
height="5">
|
|
||||||
<Fill color="#FFFFFFFF"/>
|
|
||||||
</Ellipse>
|
|
||||||
|
|
||||||
</PartDraw>
|
|
||||||
|
|
||||||
|
|
||||||
<PartText
|
|
||||||
x="65"
|
|
||||||
y="5"
|
|
||||||
width="78"
|
|
||||||
height="48">
|
|
||||||
|
|
||||||
<Text
|
|
||||||
align="CENTER"
|
|
||||||
verticalAlign="CENTER"
|
|
||||||
isAutoSize="TRUE">
|
|
||||||
|
|
||||||
<Font
|
|
||||||
family="SYNC_TO_DEVICE"
|
|
||||||
size="25"
|
|
||||||
weight="BOLD"
|
|
||||||
color="#FFFFFFFF">
|
|
||||||
|
|
||||||
<Template><![CDATA[%d]]>
|
|
||||||
<Parameter expression="[STEP_COUNT]"/>
|
|
||||||
</Template>
|
|
||||||
|
|
||||||
</Font>
|
|
||||||
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
</PartText>
|
|
||||||
|
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<ComplicationSlot
|
||||||
|
name="bottom_complication"
|
||||||
|
slotId="3"
|
||||||
|
x="145"
|
||||||
|
y="347"
|
||||||
|
width="160"
|
||||||
|
height="66"
|
||||||
|
supportedTypes="SHORT_TEXT LONG_TEXT SMALL_IMAGE MONOCHROMATIC_IMAGE EMPTY">
|
||||||
|
|
||||||
|
<Variant
|
||||||
|
mode="AMBIENT"
|
||||||
|
target="alpha"
|
||||||
|
value="0"/>
|
||||||
|
|
||||||
|
<BoundingRoundBox
|
||||||
|
x="2"
|
||||||
|
y="0"
|
||||||
|
width="156"
|
||||||
|
height="58"
|
||||||
|
cornerRadius="29"
|
||||||
|
outlinePadding="2"/>
|
||||||
|
|
||||||
|
<DefaultProviderPolicy
|
||||||
|
defaultSystemProvider="STEP_COUNT"
|
||||||
|
defaultSystemProviderType="SHORT_TEXT"/>
|
||||||
|
|
||||||
|
<Complication type="SHORT_TEXT">
|
||||||
|
|
||||||
|
<Condition>
|
||||||
|
<Expressions>
|
||||||
|
<Expression name="bottomShortTextHasIcon"><![CDATA[
|
||||||
|
[COMPLICATION.MONOCHROMATIC_IMAGE] != null
|
||||||
|
]]></Expression>
|
||||||
|
</Expressions>
|
||||||
|
|
||||||
|
<Compare expression="bottomShortTextHasIcon">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="18"
|
||||||
|
y="14"
|
||||||
|
width="30"
|
||||||
|
height="30"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="53"
|
||||||
|
y="6"
|
||||||
|
width="88"
|
||||||
|
height="46">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="25"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Compare>
|
||||||
|
|
||||||
|
<Default>
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="18"
|
||||||
|
y="6"
|
||||||
|
width="124"
|
||||||
|
height="46">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="25"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Default>
|
||||||
|
|
||||||
|
</Condition>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="LONG_TEXT">
|
||||||
|
|
||||||
|
<PartText
|
||||||
|
x="18"
|
||||||
|
y="6"
|
||||||
|
width="124"
|
||||||
|
height="46">
|
||||||
|
|
||||||
|
<Text
|
||||||
|
align="CENTER"
|
||||||
|
verticalAlign="CENTER"
|
||||||
|
ellipsis="TRUE"
|
||||||
|
isAutoSize="TRUE">
|
||||||
|
|
||||||
|
<Font
|
||||||
|
family="SYNC_TO_DEVICE"
|
||||||
|
size="20"
|
||||||
|
weight="BOLD"
|
||||||
|
color="#FFFFFFFF">
|
||||||
|
<Template><![CDATA[%s]]>
|
||||||
|
<Parameter expression="[COMPLICATION.TEXT]"/>
|
||||||
|
</Template>
|
||||||
|
</Font>
|
||||||
|
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</PartText>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="SMALL_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="58"
|
||||||
|
y="7"
|
||||||
|
width="44"
|
||||||
|
height="44">
|
||||||
|
<Image resource="[COMPLICATION.SMALL_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
<Complication type="MONOCHROMATIC_IMAGE">
|
||||||
|
|
||||||
|
<PartImage
|
||||||
|
x="63"
|
||||||
|
y="12"
|
||||||
|
width="34"
|
||||||
|
height="34"
|
||||||
|
tintColor="#FFFFFFFF">
|
||||||
|
<Image resource="[COMPLICATION.MONOCHROMATIC_IMAGE]"/>
|
||||||
|
</PartImage>
|
||||||
|
|
||||||
|
</Complication>
|
||||||
|
|
||||||
|
</ComplicationSlot>
|
||||||
|
|
||||||
<!-- AMBIENT -->
|
<!-- AMBIENT -->
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user