title: Obtaining themed attributes from built in Android styles
body: <p>Given a Context that has been themed with <code>AppTheme</code> (shown below), is it possible to programmatically obtain the color <strong>#ff11cc00</strong> without referencing <code>R.style.MyButtonStyle</code>, <code>R.style.AppTheme</code>, or <code>android.R.style.Theme_Light</code>?</p>
  
  <p>The objective is to obtain the button text color that was set by the theme without being bound to a particular theme or app-declared resource. Using <code>android.R.style.Widget_Button</code> and <code>android.R.attr.textColor</code> is okay.</p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.Light"&gt;
      &lt;item name="android:buttonStyle"&gt;@style/MyButtonStyle&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="MyButtonStyle" parent="android:style/Widget.Button"&gt;
      &lt;item name="android:textColor"&gt;#ff11cc00&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>