title: Change both text and background color in title bar (Android)?
body: <p>I build an Android app and I am trying to change the title's bar background and text colour.</p>
  
  <p>In AndroidManifest.xml:</p>
  
  <pre><code>&lt;application
      ...
      android:theme="@style/ThemeSelector"
  &gt;
  </code></pre>
  
  <p>In styles.xml:</p>
  
  <pre><code>&lt;style name="ThemeSelector" parent="android:Theme.Light"&gt;
      &lt;item name="android:windowTitleBackgroundStyle"&gt;@style/WindowTitleBackground&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="WindowTitleBackground"&gt;     
      &lt;item name="android:background"&gt;@color/titlebackgroundcolor&lt;/item&gt;
      &lt;item name="android:textColor"&gt;@color/titletextcolor&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Using this code, I am managing to change the background colour but not the text colour.</p>
  
  <p>Can you explain why this code does not work?</p>
  
  <p>Thank you</p>