【发布时间】:2011-12-15 08:19:04
【问题描述】:
我想在代码中检索 textApperanceLarge 的 int 值。我相信下面的代码正朝着正确的方向发展,但无法弄清楚如何从 TypedValue 中提取 int 值。
TypedValue typedValue = new TypedValue();
((Activity)context).getTheme().resolveAttribute(android.R.attr.textAppearanceLarge, typedValue, true);
【问题讨论】:
标签: android