Hi,
I am trying to use settings.xml for an application on Gear S to make it customizable from Gear Manager.
Actually it works. When I use static text in settings.xml it is fine.
However, if I use @ marks for texts to be converted from strings.xml, it doesn't convert. I mean I use the strings.xml file for that, but the final text is not formed from strings.xml.
Is there anything else to configure for this to work ?
A sample strings.xml is like:
<?xml version="1.0" encoding="utf-8"?> <resource> <string name="Clock_Name">Weather Clock</string> <string name="24_Hour_Format">Use 24-hour format</string> <string name="Hour_Format_Item1">1:00 PM</string> <string name="Hour_Format_Item2">13:00 PM</string> </resource>
For example, I use following line in my settings.xml:
<CheckBoxItem>@Hour_Format_Item1</CheckBoxItem>
But that line does not convert to "1:00 PM" as expected.
It shows up as "@Hour _Format_Item1"
What is required to convert using strings.xml ?
Thx.