This is not strictly related to Watch Face Studio, but I couldn’t find a better place to post this (if there is a better one, please let me know).
The problem is the following: Samsung Galaxy watches assume that “ColorConfiguration” always has an ID “themeColor”, which is not compliant with the specification at ColorConfiguration | Android Developers, where it states that the “id” value must be “A unique identifier for the configuration value”.
Samsung Galaxy watches do not properly show the color options when configuring the watch face on the watch if “ColorConfiguration” uses a different ID.
If the “ColorConfiguration” uses the “themeColor” ID, then the color options are displayed on the watch like this:
If the “ColorConfiguration” does not use “themeColor” ID (see code example below), then the color options are displayed on the watch like this:
Code example:
<ColorConfiguration id="foregroundColorsTheme" defaultValue="0" displayName="color_selector_display_name">
<ColorOption id="0" colors="#ff231651 #fff35858 #ffeeeaea"/>
<ColorOption id="1" colors="#cc595656 #ff2374ab #cc88c0ee"/>
<ColorOption id="2" colors="#ff383838 #ffa3c24d #ff65afff"/>
<ColorOption id="3" colors="#ff383838 #ff3b3b99 #ffc0b7fc"/>
<ColorOption id="4" colors="#ff090943 #ff9dc9a0 #ff37a151"/>
<ColorOption id="5" colors="#ff383838 #ffa3c24d #fff4a261"/>
<ColorOption id="6" colors="#ff383838 #ff057d89 #fff5c095"/>
</ColorConfiguration>
This is especially problematic if the watch face uses more than one “ColorConfiguration” entry and it is therefore impossible for all of them to have the same (“themeColor”) ID.
When using more than one “ColorConfiguration” entries in the watch face XML, which IDs should be used for both color configurations to properly display colors on the watch face configuration screen?