title: Setting Button Text Color with a Style
body: <p>I have not been able to set the text color of a Button using a predefined style. I must be missing something simple. For example, I have a button:</p>
  
  <pre><code>    &lt;Button
      android:id="@+id/calculate_button"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:text="@string/calculate"
      android:background="@drawable/rounded_bottom_shape"
      android:padding="5dp"
      android:textAppearance="@style/CalcResultStyle"&gt;
      &lt;/Button&gt;
  </code></pre>
  
  <p>And the corresponding style is:</p>
  
  <pre><code>&lt;style name="CalcResultStyle"&gt;
      &lt;item name="android:textSize"&gt;12sp&lt;/item&gt;
      &lt;item name="android:textColor"&gt;#FFF&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>The size portion works fine, but the color does not. The only workaround I have found is to set the textColor on the actual button, which means changing colors on a number of buttons becomes a pain. I also prefer to set the textColor attribute in my styles using a color reference such as @color/Brown for example, but setting the color using a reference or explicitly seems to make no difference.</p>