Hey, I am trying to use colors from the 64 colors pallet in my watch face. I've set settings as follows:
<settings>
<setting propertyKey="@Properties.TextColor" title="@Strings.TextColorTitle">
<settingConfig type="list">
<listEntry value="0x0000FF">@Strings.ColorBlue</listEntry>
<listEntry value="0xFF0000">@Strings.ColorRed</listEntry>
<listEntry value="0x00FFFF">@Strings.ColorTurquoise</listEntry>
<listEntry value="0xFF5500">@Strings.ColorOrange</listEntry>
<listEntry value="0x555500">@Strings.ColorOliveGreen</listEntry>
<listEntry value="0x00FF00">@Strings.ColorGreen</listEntry>
</settingConfig>
</setting>
<setting propertyKey="@Properties.ShowSeconds" title="@Strings.ShowSecondsTitle">
<settingConfig type="boolean" />
</setting>
</settings>
I can't find a way to use them in the view.mc file
I tried the following:
var SelectedColor;
SelectedColor = Application.Properties.getValue("TextColor");
dc.setColor(SelectedColor, Graphics.COLOR_TRANSPARENT);
but it doesn't work out. I know for sure there's a way to do so but I can't find it. I feel like I'm missing only one line because if I using the values of the colors I've entered instead of the SelectedColor var in the dc.setColor, I will get the color I want.
Can you help me please? TY in advance!