am 083d1562: Fix text size in Fake Action Bar. [DO NOT MERGE]

* commit '083d1562e00631630b5594462ce4a867a3508d8d':
  Fix text size in Fake Action Bar. [DO NOT MERGE]
This commit is contained in:
Deepanshu Gupta
2014-05-02 19:23:50 +00: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()));
}
}