I want to create the following string array in my strings.xml
file:
<string-array name="an_array_columns">
<item>% Select percentage1</item>
<item>% Select percentage2</item>
</string-array>
here the string is "% select percentage". Now, when I am writing this in my strings.xml, I am getting the following error:
Multiple annotations found at this line:
- error: Multiple substitutions specified in non-positional format; did you mean to
add the formatted="false" attribute?
- error: Found tag </item> where </string-array> is expected
I know we can change &
to &
or '
to \'
, but what do I do for percentage sign?