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

* commit 'e45d8b2dab33de18bef5cc5ae7db37b890b22d8d':
  Fix text size in Fake Action Bar
This commit is contained in:
Deepanshu Gupta
2013-11-10 22:51:26 -08:00
committed by Android Git Automerger

View File

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