ファイルに次の文字列配列を作成したいと思いstrings.xmlます。
<string-array name="an_array_columns">
<item>% Select percentage1</item>
<item>% Select percentage2</item>
</string-array>
ここでの文字列は「%selectpercentage」です。これをstrings.xmlに書き込んでいると、次のエラーが発生します。
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
&に&または'に変更できることはわかって\'いますが、パーセント記号はどうすればよいですか?