title: Android Studio-Designer does not show Colors as the emulator/phone
body: <p>A string underline on emulator (and device) is green but on designer window is gray. There is no custom colors in style and colors.xml. So why colors are different?</p>
  
  <p><a href="https://photos.app.goo.gl/Eo8RF26uW6UmlgQi1" rel="nofollow noreferrer">result</a></p>
  
  <p>manifest.xml: </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.myfirstapp"&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name="com.example.myfirstapp.MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name="com.example.myfirstapp.DisplayMessageActivity"
              android:parentActivityName="com.example.myfirstapp.MainActivity"&gt;
              &lt;!--The meta-data tag is required if you support API level 15 and lower --&gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value="com.example.myfirstapp.MainActivity"/&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>colors.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;!--&lt;color name="colorPrimary"&gt;#087609&lt;/color&gt;
      &lt;color name="colorPrimaryDark"&gt;#002900&lt;/color&gt;
      &lt;color name="colorAccent"&gt;#327f4f&lt;/color&gt;--&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>styles.xml:</p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;!-- Base application theme. --&gt;
  
      &lt;style name="AppTheme" parent="Theme.AppCompat"&gt;
          &lt;!-- Customize your theme here. --&gt;
  
          &lt;!--&lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
          &lt;item name="colorAccent"&gt;@color/colorAccent&lt;/item&gt;
          --&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p><a href="https://photos.app.goo.gl/437hgk89w7iRTkN53" rel="nofollow noreferrer">manifest.xml</a></p>
  
  <p><a href="https://photos.app.goo.gl/fWq4geb97t1TInNH3" rel="nofollow noreferrer">colors.xml</a></p>
  
  <p><a href="https://photos.app.goo.gl/FJEmUHTDSnG9NoPo1" rel="nofollow noreferrer">styles.xml</a></p>
  
  <p>PS: sorry for images on links - i have no enough reputation to post images directly.</p>