title: Android style specify button color
body: <p>I am trying to apply a button text color by default in <strong>styles.xml</strong></p>
  
  <pre><code>&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;style name="AppTheme"&gt;
     &lt;item name="android:windowFullscreen"&gt;true&lt;/item&gt;
     &lt;item name="android:windowBackground"&gt;@color/black&lt;/item&gt;
     &lt;item name="android:textColor"&gt;@color/green&lt;/item&gt;
  &lt;/style&gt; 
  </code></pre>
  
  <p>How do I make the style change button color, and apply throughout the entire application? My mainfest includes:</p>
  
  <pre><code>    &lt;application
      android:icon="@drawable/ic_launcher"
      android:label="Hack the World"
      android:theme="@style/AppTheme"&gt;
  </code></pre>
  
  <p>This changes all text (such as a TextView), but does not change the text in a button. If I use the ColorThemes style from above and place it in the xml for the button like this:</p>
  
  <pre><code>    &lt;Button
      android:id="@+id/button3"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      android:onClick="loadSavedgame"
      android:text="Load Saved Game" 
      android:textColor="@color/green" /&gt;"
  </code></pre>
  
  <p>Then it works perfectly. Why doesn't this apply universally because of the style? All different versions of <strong>styles.xml</strong> have the same code.</p>