Merge "Set default text style in layoutlib as NORMAL"
This commit is contained in:
committed by
Android (Google) Code Review
commit
be727079a5
@ -103,6 +103,9 @@ public final class Typeface_Delegate {
|
||||
if (familyName == null) {
|
||||
familyName = DEFAULT_FAMILY;
|
||||
}
|
||||
if (style < 0) {
|
||||
style = Typeface.NORMAL;
|
||||
}
|
||||
|
||||
Typeface_Delegate newDelegate = new Typeface_Delegate(familyName, style);
|
||||
if (sFontLoader != null) {
|
||||
|
Reference in New Issue
Block a user