title: Android light/dark theme action bar text
body: <p>I'm implementing a dark theme in my playground Android app, and am struggling to get the action bar text color to be white.</p>
  
  <p>Below is my style and colors.  The background of the action bar follows colorPrimary, which is great.  However, both colors (light and dark) are pretty dark colors, and would like the action bar text color to always be white.  Since I am using the DayNight.NoActionBar as the parent right now, it is black for light and white for dark.  I have a few different instances of the action bar so I would prefer not to have to change each individual one, but rather just define it in the style.  How do I go about doing this?</p>
  
  <p>styles.xml</p>
  
  <pre><code>&lt;style name="DarkThemeApp" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar"&gt;
      &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;
      &lt;item name="colorError"&gt;@color/colorError&lt;/item&gt;
      &lt;item name="android:textColor"&gt;?android:attr/textColorPrimary&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>night\colors.xml</p>
  
  <pre><code>&lt;resources&gt;
      &lt;color name="colorPrimary"&gt;#3d85c6&lt;/color&gt;
      &lt;color name="colorPrimaryDark"&gt;#002e72&lt;/color&gt;
      &lt;color name="colorAccent"&gt;#e66f00&lt;/color&gt;
      &lt;color name="colorYellow"&gt;#FFE800&lt;/color&gt;
      &lt;color name="colorError"&gt;#E53935&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>values\colors.xml</p>
  
  <pre><code>&lt;resources&gt;
      &lt;color name="colorPrimary"&gt;#00348e&lt;/color&gt;
      &lt;color name="colorPrimaryDark"&gt;#002e72&lt;/color&gt;
      &lt;color name="colorAccent"&gt;#e66f00&lt;/color&gt;
      &lt;color name="colorYellow"&gt;#FFE800&lt;/color&gt;
      &lt;color name="colorError"&gt;#E53935&lt;/color&gt;
  &lt;/resources&gt;
  </code></pre>