Merge "Fix text size in Fake Action Bar" into klp-dev

This commit is contained in:
Deepanshu Gupta
2013-11-11 06:48:30 +00:00
committed by Android (Google) Code Review

View File

@@ -290,7 +290,7 @@ abstract class CustomBar extends LinearLayout {
TypedValue out = new TypedValue(); TypedValue out = new TypedValue();
if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out, if (ResourceHelper.parseFloatAttribute("textSize", textSize.getValue(), out,
true /*requireUnit*/)) { true /*requireUnit*/)) {
textView.setTextSize( textView.setTextSize(TypedValue.COMPLEX_UNIT_PX,
out.getDimension(bridgeContext.getResources().getDisplayMetrics())); out.getDimension(bridgeContext.getResources().getDisplayMetrics()));
} }
} }