title: How to set a custom color to WindowBackground
body: <p>I want to know how I can to set a custom color because when I put a color background in lollipop theme this say me to this color is not allowed. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
  
  &lt;style name="Theme.MyTheme" parent="Theme.AppCompat.Light"&gt;
      &lt;!-- colorPrimary is used for the default action bar background --&gt;
      &lt;item name="colorPrimary"&gt;#FF0099&lt;/item&gt;
  
      &lt;!-- colorPrimaryDark is used for the status bar --&gt;
      &lt;item name="colorPrimaryDark"&gt;#FF0099&lt;/item&gt;
  
      &lt;!-- colorAccent is used as the default value for colorControlActivated,
       which is used to tint widgets --&gt;
      &lt;item name="colorAccent"&gt;#339900&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;#FFFFFF&lt;/item&gt;
  
      &lt;item name="android:windowBackground"&gt;#f06292&lt;/item&gt;
  
      &lt;!-- You can also set colorControlNormal, colorControlActivated
       colorControlHighlight, and colorSwitchThumbNormal. --&gt;
  
  &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>And I have the issue to say me error: Error: Color types not allowed (at '<code>android:windowBackground</code>' with value '#f06292'). I don't know what I must do.</p>
  
  <p>And a last thing is to how can to call to all this function from code. </p>