Android: how to get value of an attribute in code?
<p>I would like to retrieve the int value of textApperanceLarge in code.  I believe that the below code is going in the right direction, but can't figure out how to extract the int value from the TypedValue.</p>

<pre><code>TypedValue typedValue = new TypedValue(); 
((Activity)context).getTheme().resolveAttribute(android.R.attr.textAppearanceLarge, typedValue, true);
</code></pre>
