title: Escape multiple “%” characters in Android
body: <p>In &lt;string-array name="versions"> I have this beast of an entry (boiled down to a reasonable minimum to reproduce the effect):</p>
  
  <pre><code>&lt;item&gt;100% foo 40%bar&lt;/item&gt;
  </code></pre>
  
  <p>which produces these errors:</p>
  
  <pre><code>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 &lt;/item&gt; where &lt;/string-array&gt; is expected
  </code></pre>
  
  <p>Adding formatted="false" doesn't change a thing.</p>
  
  <pre><code>&lt;item&gt;100&amp;#37; foo 40&amp;#37;bar&lt;/item&gt;
  </code></pre>
  
  <p>results in the same error messages. WTH?</p>
  
  <pre><code>&lt;item&gt;100% foo 40bar&lt;/item&gt;
  &lt;item&gt;100 foo 40%bar&lt;/item&gt;
  &lt;item&gt;100% foo 40%&lt;/item&gt;
  </code></pre>
  
  <p>would all work fine.
  Escaping it with \% is just ignored resulting in the same error. %% doesn't result in an error but I get %%.</p>