title: How to theme Android Material Theme UI Elements with Appcelerator?
body: <p>There is this useful information and everything works well:
  <a href="http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes" rel="nofollow noreferrer">http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes</a></p>
  
  <p>The image is also very helpful: <a href="https://i.stack.imgur.com/PzQr8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PzQr8.png" alt="enter image description here"></a></p>
  
  <p>The problem is that I want to have white or very light gray in the top bar. When I set this as "android:textColorPrimary", however, the text is white in the top bar, but in all alerts for instance as well making it invisible/very difficult to read. </p>
  
  <p>How can I set the text color of the bar to white and theme the alert messages and other text in the default text color (dark gray)?</p>
  
  <p>The themeAndroid.xml in app/platform/android/res/values looks like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;style name="materialTheme" parent="@style/Theme.AppCompat.Light"&gt;
      &lt;item name="colorPrimary"&gt;#2e7d32&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;#005005&lt;/item&gt;
      &lt;item name="colorAccent"&gt;#80d8ff&lt;/item&gt;
      &lt;item name="colorSwitchThumbNormal"&gt;#49a7cc&lt;/item&gt;
      &lt;item name="android:colorButtonNormal"&gt;#49a7cc&lt;/item&gt;
      &lt;item name="android:textColorPrimary"&gt;#DADADA&lt;/item&gt;
      &lt;item name="android:spinnerItemStyle"&gt;@style/SpinnerItem&lt;/item&gt;
      &lt;item name="android:spinnerDropDownItemStyle"&gt;@style/SpinnerDropDownItem&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p></p>