title: Android Layout Editor Freaks Out on Question Mark
body: <p>This is strange, yet I see it all the time as I have lots of reasons to display just a simple question mark in this app.</p>
  
  <p>When editing with the Eclipse graphical layout editor, everything is fine...until I tell a TextEdit or a Button to display just a question mark.  Here's my code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical"
      &gt;
      &lt;TextView
          android:id="@+id/test_title"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/question_mark" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And the string is defined in res/values/strings.xml.  The relevant line is:</p>
  
  <pre><code>&lt;string name="question_mark"&gt;\u003f&lt;/string&gt;
  </code></pre>
  
  <p>The error message I get is:</p>
  
  <blockquote>
    <p>Missing styles. Is the correct theme chosen for this layout? Use the
    Theme combo box above the layout to choose a different layout, or fix
    the theme style references.</p>
    
    <p>Couldn't find theme resource  for the current theme</p>
  </blockquote>
  
  <p>Change the text, and the error message goes away.</p>
  
  <p>You can see that in my struggles, I'm even trying to use the unicode version of a question mark.  And yes, \? doesn't work either.</p>
  
  <p>Note that this only happens when the graphical layout editor is set to API 7 or greater.</p>
  
  <p>Now the graphical layout editor displays the question mark properly, and the emulator and my phone display the question mark without any problems.  I'm just annoyed with the error message taking up 1/4 of my screen for all my layouts (and obscuring other error messages that may crop up).</p>
  
  <p>Any suggestions?</p>