Dear all :-) ,
I've a bit strange behaviour. I try to give as much information as possible in this post - if it is too long please don't feel forced to answer ;-)
Backgound: I've created a little watchface with a specific color scheme. Now I want to make the color scheme configurable. I've used Menu2 to implement it:
class SettingsMenu extends WatchUi.Menu2
Then I have seen, that there is a possibility to create the same behaviour with a setting, but unfortunately I am not able to see the settings menu - neither on my watch, nor on the simulator
<resources> <properties> <property id="Theme" type="number">0</property> </properties> <settings> <setting propertyKey="@Properties.Theme" title="@Strings.Theme"> <settingConfig type="list" required="true"> <listEntry value="0">@Strings.ThemeDefault</listEntry> <listEntry value="1">@Strings.ThemeRed</listEntry> <listEntry value="2">@Strings.ThemeBlue</listEntry> <listEntry value="3">@Strings.ThemeGreen</listEntry> <listEntry value="4">@Strings.ThemeYellow</listEntry> </settingConfig> </setting> </settings> <strings> <string id="AppName">WatchOfTheRingsApp</string> <string id="Theme">Theme</string> <string id="ThemeDefault">Default</string> <string id="ThemeRed">Red</string> <string id="ThemeBlue">Blue</string> <string id="ThemeGreen">Green</string> <string id="ThemeYellow">Yellow</string> </strings></resources>As reference here is the full source code for the implementation of the menu in monkey c (working):
patrickpl/WatchOfTheRings at da5085b5623b33fc6091fe6ad150b9b5791e1210
in <settings> (not working):
patrickpl/WatchOfTheRings at 57d5c870b2a5c3f3f75a72cf910334b080191f83