title: How can I get the fgcolor attribute to work on recent Android versions?
body: <p>I used to be able to do this:</p>
  
  <pre><code>&lt;string name="foo"&gt;white &lt;font fgcolor="#ff6890a5"&gt;blue&lt;/font&gt;&lt;/string&gt;
  </code></pre>
  
  <p>But now it doesn't work any more. It seems to be a bug in the integer parsing code; see <a href="https://code.google.com/p/android/issues/detail?id=58192" rel="noreferrer">https://code.google.com/p/android/issues/detail?id=58192</a></p>
  
  <p>Problem is, I'm getting customer complaints <em>now</em>; I can't wait for the bug to be fixed.</p>
  
  <p>Does anybody know a work-around, such as using named resources from color.xml or something like that?</p>
  
  <p>ETA: I've discovered <code>fgcolor="blue"</code> still works, but it's the wrong shade of blue. Is there a list of legal color names somewhere? Maybe I could find one that's close enough. It also works if the color is a number without the high bit set, like <code>#7f6890a5</code>, but of course that's too faint to be useful; I need a solid color, not semi-transparent.</p>
  
  <p>ETA: browsing source code shows these colors:</p>
  
  <pre><code>  aqua      0x00FFFF
    black     0x000000
    blue      0x0000FF
    fuchsia   0xFF00FF
    green     0x008000
    grey      0x808080
    lime      0x00FF00
    maroon    0x800000
    navy      0x000080
    olive     0x808000
    purple    0x800080
    red       0xFF0000
    silver    0xC0C0C0
    teal      0x008080
    white     0xFFFFFF
    yellow    0xFFFF00
  </code></pre>
  
  <p>This doesn't fix my problem, but perhaps other people searching on this question could find this information useful.</p>