title: Storing hex color values in strings.xml
body: <p>I'm trying to store the <code>hex color</code> value of my text in strings.xml so all the layout files will refer to that (to be able to quickly change all layout text for the project easily) however I'm having trouble referring to it.</p>
  
  <p>Using <code>android:textColor="#FFFFFF"</code> in my xml layout works fine. However using <code>android:textColor="@strings/textColor"</code> gives me an error both when I include a # and not include. </p>
  
  <p>When I don't include the # it asks for the #. When I do add the # DDMS reports: </p>
  
  <blockquote>
    <p>07-13 04:35:22.870: ERROR/AndroidRuntime(331): Caused by: android.content.res.Resources$NotFoundException: File #FF0000 from drawable resource ID #0x7f040003: .xml extension required</p>
  </blockquote>
  
  <p>Does anyone know how I can combine statements in the layout file? eg <code>textColor="#"+"@strings/textColor</code> and then just set the string to <code>"FFFFFF"</code> for example.</p>