* commit 'd4e6727d02f7507fdfd6cbbabd03d6e922127e4b': Fix text size in Fake Action Bar. [DO NOT MERGE]
This commit is contained in:
@@ -274,7 +274,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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user